On Wed, Jul 21, 2004 at 07:35:08PM +0200, Aldo Calpini wrote: : Larry Wall wrote: : : >Hmm. That makes me wonder what the slice notation for "everything" is. : > : > : maybe @foo[..] (a short form for @foo[0..Inf]) ? %foo{..} should also be : allowed, of course (which : unfortunately is not a short form for 0..Inf). or perhaps, with a slight : analogy with filesystems, @foo[*] : and %foo{*}. I was tempted to suggest yada-yada-yada (eg. @foo[...]), : but this should mean "a slice : not (yet) determined", right?
That's correct. I suspect the star is likely for "everything", since whatever we choose has to work not just as @foo[*] but also in individual dimensions: @foo[1;*;0]. We do have to figure out whether C<*> as a term is too ambiguous with C<*> as a unary splat. On the plus side, "everything" is a rather splatty concept already. And it reads a lot better that C<..> does. Larry