Skip to content

Mention built-in (; a, b) = x syntax #26

@AntonOresten

Description

@AntonOresten

I was not aware of the NamedTuple syntax originally discussed in JuliaLang/julia#28579. I think a quick mention of this would be good, since many users may just be needing this functionality. The unpack(x, ::Val{property}) thing is nice, but Julia should still be able to efficiently compile property access even if it's defined with an if-else tree inside a Base.getproperty method.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions