Skip to content

Pull array index isn't safe #471

Closed
@b-mehta

Description

@b-mehta

I'm not sure Pull.Array.index is safe. For instance, I could take some non-dupable x :: a, put it into a singleton Pull Array, then linearly take its 0th element twice, giving me two copies of x and the array around, meaning I've duplicated x (with some spare).

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