Skip to content

Range and slice exclusive/inclusive #109

Description

@novo52

Range and slice syntax is inconsistent; ranges are inclusive at the end, while slices are exclusive. We should make slices inclusive as well for consistency.

Also:
Having both 1-based indexing and negative indexing introduces a problem: 0 is an invalid index; it is a hole in the indexing. IDK how much of a problem this actually is.

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