That looks like a new "range selection" dialect.
I can imagine a range-pick function perhaps:
range-pick: func [series dialect][...]
blk: [a b c d e f g]
range-pick blk [1 (3 5)]
;== [a c d e]
That would be similar to Andrew's picks function.
Anton.
> I'm not sure how best to impliment it in a REBOL way, but it would be
> nice. For selecting ranges within a series, perhaps parens could be
> used something like this...
>
> >> blk: ["a" "b" "c" "d" "e" "f" "g"]
> == ["a" "b" "c" "d" "e" "f" "g"]
> >> blk/[1 (3 5)]
> == ["a" "c" "d" "e"]
> >> blk/[(first 2) (5 last)]
> == ["a" "b" "e" "f" "g"]
>
> But, should it also work like this...
>
> >> blk/[(first 2) (5 last)]/3
> == "e"
>
> ?
--
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.