Re: [svn:perl6-synopsis] r14359 - doc/trunk/design/syn

2007-04-04 Thread Jonathan Lang
[EMAIL PROTECTED] wrote: +Arrays may also be defined with a mixture of fixed and autoextending +dimensions: + +my @calendar[12;*;24]; # "Month" dimension unlimited + + Move this out of the section on fixed-length arrays and into the section on multidimensional arrays; it fits most natur

Re: anonymous multidim values (was Re: [svn:perl6-synopsis] r14359 - doc/trunk/design/syn)

2007-03-29 Thread Larry Wall
On Thu, Mar 29, 2007 at 01:21:27AM -0700, Darren Duncan wrote: : At 7:28 PM -0700 3/28/07, [EMAIL PROTECTED] wrote: : > =head1 Multidimensional arrays : > : >+Perl 6 arrays are not restricted to being one-dimensional (that's simply : >+the default). To declare a multidimensional array, you specify

Re: [svn:perl6-synopsis] r14359 - doc/trunk/design/syn

2007-03-29 Thread TSa
HaloO, [EMAIL PROTECTED] wrote: +Similarly, within a C<.{}> indexing operation you can use C<*[$idx]> +to convert from standard indices to user-defined: + +@lengths{ *[2] .. Oct } # Same as: @lengths{ Jan .. Oct } Isn't that same as @length{Mar..Oct}? --

anonymous multidim values (was Re: [svn:perl6-synopsis] r14359 - doc/trunk/design/syn)

2007-03-29 Thread Darren Duncan
At 7:28 PM -0700 3/28/07, [EMAIL PROTECTED] wrote: =head1 Multidimensional arrays +Perl 6 arrays are not restricted to being one-dimensional (that's simply +the default). To declare a multidimensional array, you specify it with a +semicolon-separated list of dimension lengths: + +my int @in

[svn:perl6-synopsis] r14359 - doc/trunk/design/syn

2007-03-28 Thread Bob Rogers
From: [EMAIL PROTECTED] Date: Wed, 28 Mar 2007 19:28:30 -0700 (PDT) Author: larry Date: Wed Mar 28 19:28:28 2007 New Revision: 14359 Modified: doc/trunk/design/syn/S09.pod Log: User-definable array indexing hammered out by TheDamian++ and Dataweaver++ . . .

[svn:perl6-synopsis] r14359 - doc/trunk/design/syn

2007-03-28 Thread larry
Author: larry Date: Wed Mar 28 19:28:28 2007 New Revision: 14359 Modified: doc/trunk/design/syn/S09.pod Log: User-definable array indexing hammered out by TheDamian++ and Dataweaver++ Modified: doc/trunk/design/syn/S09.pod =