On 20 March 2015 at 20:10, Sean Coates <s...@seancoates.com> wrote:

> That’s no different than `@` being invalid because it’s already in use.


The syntax would be [*from:to], which would currently throw a parse error
(since asterisk is required to be placed between two numbers), so this
would be different.

Alternatively, an underscore could be used

This would then look like [_from:to]

Also, another option would be to not use the square bracket syntax at all,
and move towards angled brackets for positional indexing.

This would then be $array<1:2> to get items in positions 1 and 2.

Reply via email to