Baris wrote: > > Hi, > > ^foo = ([1, 2], [3, 4]); # I know, it's taken, I helped :-) > > $foo[0,0]; # uh-oh > > > >Then adding a new fundamental type and syntax is not only unnecessary, > >but silly. > > Why do you think that individual elements are perl scalars? To avoid anyone getting yelled at by TomC or someone else: Yes. Anything individual in Perl is a scalar. By definition. Please don't try to change this. For more details on this, please read this email: http://www.mail-archive.com/perl6-language@perl.org/msg00329.html Under these definitions - which are at the core of Perl - piddles are just @arrays (maybe special arrays, though, see Buddha's RFC) and do not warrant their own data type. Yes, I do view this as a good thing. -Nate
- Re: New variable type: matrix Doug Hunt
- Re: New variable type: matrix Christian Soeller
- Re: New variable type: matrix Damian Conway
- Re: New variable type: matrix Nathan Wiger
- Re: New variable type: matrix Buddha Buck
- Re: New variable type: matrix Jeremy Howard
- Re: New variable type: matrix Christian Soeller
- Re: New variable type: matrix Jeremy Howard
- Re: New variable type: matrix Baris
- Re: New variable type: matrix Jim Edwards
- Re: New variable type: matrix Nathan Wiger
- Re: New variable type: matrix Karl Glazebrook
- Re: New variable type: matrix Dan Sugalski
- Re: New variable type: matrix Karl Glazebrook
- Re: New variable type: matrix Dan Sugalski
- Re: New variable type: matrix Baris
- Re: New variable type: matrix Christian Soeller
- Re: New variable type: matrix Dan Sugalski
- Re: New variable type: matrix Karl Glazebrook
- Re: New variable type: matrix Jeremy Howard
- Re: New variable type: matrix Christian Soeller