Re: n-dim matrices
[email protected] (Karl Glazebrook) Fri, 01 Sep 2000 09:11:52 -0400
| Newsgroups | perl.perl6.language.data |
|---|---|
| Message-ID | <[email protected]> |
Buddha Buck wrote: > > At 08:10 AM 9/1/00 +1200, Christian Soeller wrote: > > >No, at least 18. One more piece of semantics that would be appreciated > >is optional omission of trailing dimensions in slices, e.g. for a 3-dim > >@a: > > > > @a[0:1] == @a[0:1;] == @a[0:1;;] > > Would you go for: > > @a[$first;*]; > @a[*;$last]; > @a[$first;*;$last]? > > Say yes, and I'll add it tonight! > > I'm unsure if @a[*;$middle;*] has any reasonable interpretation. > > > Christian Re: @a[0:1;;] @a[0;1;*] It would be good if both were allowed. Karl