Skip to content

Interpret negative indices #20

Description

@mattbodd

When receiving a negative index (aside from -1 which is already properly handled as the end of a yarray), index from the end of the yarray. Eg: g(-3) will refer to the fourth element from the end

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