On 23 March 2012 12:55, Carl Mäsak wrote:
> The "shaped arrays/hashes" parts of S09 have been in the planning
> stages a long time in Rakudo. They've had to wait for better MOP and
> better native-types handling (which is another part of S09), but now
> the time for shaped arrays/hashes is surely
Daniel (>>), Stefan (>):
>> 1. The semicolon operator would allow Perl 6 to support N-dimensional
>> arrays... How would one iterate over that type of array?
>>
>> my num @matrix[ 10 ; 10 ; 10 ];
>>
>> I ask because a natural extension is to add arithmetic operators and
>> you have the beginnings o
On Thu, Mar 22, 2012 at 11:14:54PM +0100, Daniel Carrera wrote:
> Hey,
>
> I have a few slightly related questions:
>
> 1. The semicolon operator would allow Perl 6 to support N-dimensional
> arrays... How would one iterate over that type of array?
>
> my num @matrix[ 10 ; 10 ; 10 ];
>
> I ask bec
Hey,
I have a few slightly related questions:
1. The semicolon operator would allow Perl 6 to support N-dimensional
arrays... How would one iterate over that type of array?
my num @matrix[ 10 ; 10 ; 10 ];
I ask because a natural extension is to add arithmetic operators and
you have the beginnin