Well, what about @A[7,6,5,4,3]? How would you write @A[50..3] to actually work?
I think that @A[reverse 3..50] should be sufficient, and that Perl6 will have support for open-ended lists so more exoitic generators can be created that don't force creation of the entire list ahead of time.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: .. in reverse
by mojotoad (Monsignor) on Aug 30, 2002 at 23:17 UTC | |
|
Re: .. in reverse
by BrowserUk (Patriarch) on Aug 31, 2002 at 00:53 UTC | |
by blakem (Monsignor) on Aug 31, 2002 at 01:17 UTC | |
by BrowserUk (Patriarch) on Aug 31, 2002 at 01:27 UTC | |
by sauoq (Abbot) on Aug 31, 2002 at 21:14 UTC |