Skip to content

Consider setindex for assoc #27

@TotalVerb

Description

@TotalVerb

FixedSizeArrays uses setindex to mean what assoc does in this package. Personally, I find setindex more consistent. I don't have any opinion as to whether assoc should be kept or deprecated (note that setindex has opposite argument order).

Perhaps a new package can be spun off with definitions for non-mutating versions of Base functions, and packages like FunctionalCollections can extend those. In particular, it would be useful to make push, append, and the like extensible by other packages without requiring a dependency on FunctionalCollections. But that's a different issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions