Support for subscripting tables with ranges #50
Labels
experimental
Purely experimental ideas (for now)
feature
New feature or request
language
Language features/requests
Milestone
E.g.
table[1..]
creates a copy oftable
with keys >= 1.table[..5]
creates a copy oftable
with keys <= 5.The returned values should be packed into a table with numeric keys starting from 0. E.g.
table[2..4]
should returnnew_table[0..2]
Unknown: should any non-numeric (string) keys also be copied over?
The text was updated successfully, but these errors were encountered: