-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Description
Should the syntax be inclusive of the upper bound of the range, or exclusive?
With the collection
a = [1, 2, 3, 4]
And the expression
a[1..3]
Shall it produce a range inclusive of the value at position 3, or exclusive?
// inclusive
[2, 3, 4]
// exclusive
[2, 3]
This issue provides a formal place for discussion and reference point for the underlying behavior of the syntax's inclusive or exclusive behavior
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels