Skip to content

change foo[:bar] interfaces to foo.bar #493

Closed
JuliaLang/julia
#25184
@stevengj

Description

@stevengj

Now that JuliaLang/julia#24960 is merged, it's important that we think through its implications. In particular, for types where we used a foo[:bar] API, we should strongly consider changing it to foo.bar using getproperty.

In particular, I'm thinking of factorization objects like qrfact, where we currently use QR[:Q]. It seems like QR.Q would be a lot more natural.

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs decisionA decision on this change is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions