Re: New variable type: matrix

[email protected] (Jim Edwards) Tue, 29 Aug 2000 12:25:55 +0000
Newsgroups perl.perl6.language.data
Organization INMet
Message-ID <[email protected]>
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? since we don't keep strings in piddles,  ...

But we do (can) keep strings in piddles.  PDL::Char allows just that.