Nathan Wiger wrote:
>
> "David L. Nicol" wrote:
> >
> > @a["$i $j $k","$a $y $z"] # two points in DN n-dim syntax
>
> One problem that immediately jumps out at me is how to do this:
>
> @a[[@x], [@y]];
>
> That is, dynamically get your indices. The above seems ok when you know
> them in advance (at least what variables they're in), but this usually
> isn't the case with hardcore matrix manipulation. Having a fixed number
> of named indices isn't the norm.
>
> -Nate
I think I dealt with that in the next paragraph, suggesting
@a["@x","@y"]
in effect I am suggesting exchanging the inner sqaure brackets for
double quotes, because that way the syntax matches more closely
what has been possible all along by using perl hashes.
--
David Nicol 816.235.1187 [EMAIL PROTECTED]
Kansas City Perl Mongers will meet Sept. 20th at 7:00 in
Westport Flea Market Bar & Grill http://tipjar.com/kcpm
- Re: Designing Perl 6 data crunching (wa... Christian Soeller
- Re: Designing Perl 6 data crunching (wa... Baris
- Re: Designing Perl 6 data crunching (wa... Jeremy Howard
- Re: Designing Perl 6 data crunching (wa... Baris
- Re: Designing Perl 6 data crunching (wa... Jeremy Howard
- Re: Designing Perl 6 data crunching (wa... Christian Soeller
- Re: Designing Perl 6 data crunching (wa... Karl Glazebrook
- Re: n-dim matrices Baris
- a syntax derived from constant-time hash-based ... David L. Nicol
- Re: a syntax derived from constant-time has... Nathan Wiger
- Re: a syntax derived from constant-time... David L. Nicol
- Re: a syntax derived from constant-time... Nathan Wiger
- Re: a syntax derived from constant-time... David L. Nicol
- Re: a syntax derived from constant-time... Nathan Wiger
- Re: a syntax derived from constant-time... David L. Nicol
- Re: a syntax derived from constant-time... Karl Glazebrook
- Re: a syntax derived from constant-time... c . soeller
- Re: n-dim matrices Karl Glazebrook
- Re: n-dim matrices Buddha Buck
- Re: n-dim matrices Karl Glazebrook
- Re: n-dim matrices Buddha Buck
