Closed hax closed 1 year ago
There are some discussion in slice notation proposal which also suggest Range, copy from C# index and range.
Range
Basically, Range in that proposal is a little bit like SafeIntegerRange, and optimized for array index use case.
SafeIntegerRange
If there is Symbol.slice, I'd like to add it to the return value of range (#12 )
Symbol.slice
Looks like the slice notation proposal isn't active for these years, I'll close this for now.
There are some discussion in slice notation proposal which also suggest
Range
, copy from C# index and range.Basically,
Range
in that proposal is a little bit likeSafeIntegerRange
, and optimized for array index use case.