Re: n-dim matrices

[email protected] (Buddha Buck) Thu, 31 Aug 2000 17:20:27 -0400
Newsgroups perl.perl6.language.data
Message-ID <[email protected]>
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