Re: a syntax derived from constant-time hash-based n-dim matrices in perl 5
[email protected] Sun, 03 Sep 2000 16:51:43 +1200
| Newsgroups | perl.perl6.language.data |
|---|---|
| Organization | University of Auckland |
| Message-ID | <[email protected]> |
"David L. Nicol" wrote:
>
> Nathan Wiger wrote:
>
> > Well, this is not bad, only it's not without its problems. Say you
> > wanted to get your indices implicitly:
> >
> > @a[getindices()];
> > @a[$r->get_x, $r->get_y];
>
> @a["@{\(getindices())}"];
> @a[join $",$r->get_x, $r->get_y];
Constructs like this are the reason that we (PDLers) are unhappy with
our current slicing syntax (slice, cf.RFC 115,117). IMHO continuing
along these lines is *not* the way forward.
Christian