Re: RFC 231 (v1) Data: Multi-dimensional arrays/hashes andslices

2000-09-21 Thread Jeremy Howard
Christian Soeller wrote: > Karl Glazebrook wrote: > > Buddha Buck wrote: > > > > > > > > @x = 3 * $y[|i]; > > > > > > > >It's not as clean as @x = 3 * @y, but it is cleaner context-wise. > > > > > > And one could argue that: > > > > > > @x = map 3*^_, @y; > > > > > > is cleaner yet... > > >

Re: RFC 231 (v1) Data: Multi-dimensional arrays/hashes andslices

2000-09-21 Thread Christian Soeller
Karl Glazebrook wrote: > > Buddha Buck wrote: > > > > > > @x = 3 * $y[|i]; > > > > > >It's not as clean as @x = 3 * @y, but it is cleaner context-wise. > > > > And one could argue that: > > > > @x = map 3*^_, @y; > > > > is cleaner yet... > > PDL already allows $x = 3*$y > > why step back

Re: RFC 231 (v1) Data: Multi-dimensional arrays/hashes andslices

2000-09-21 Thread Karl Glazebrook
Buddha Buck wrote: > > > > @x = 3 * $y[|i]; > > > >It's not as clean as @x = 3 * @y, but it is cleaner context-wise. > > And one could argue that: > > @x = map 3*^_, @y; > > is cleaner yet... PDL already allows $x = 3*$y why step backwards? KArl