> At 09:38 AM 8/2/00 +1000, Jeremy Howard wrote:
> >Dan Sugalski wrote:
> > > I've been thinking that it'd be nice to support extended array/list
stuff
> > > to allow the rudiments of matrix operations into perl:
> > >
> > > @foo = @bar x 3;
> > > @foo = @bar * 4;
> > > @LoL = @foo * @bar;
> > > @baz =~ s/here/there/;
> > >
> >This would really fill a gap, if the speed is there.
>
> I should point out that I'm not necessarily advocating that perl 6
actually
> *do* anything with the above constructs, merely that the parser/lexer
> accepts them. I'm OK with the ops they generate being NOOPs for the moment
> and leave the real work to whoever wants to overload them.
>
Exactly. Currently PDL provides a lot of the numeric side of this, but
wouldn't it be nice if perl 6 had the hooks in place to allow PDL to
integrate even closer into the language... and under the "many people expect
it to work this way, so it does" philosophy, why shouldn't the same syntax
work for list/array/tensor data types other than pdl's?
I've cross-posted this to the PDL porters list--what do you guys think?
--
Jeremy Howard
[EMAIL PROTECTED]