> Larry>     @result = for @a; @b -> $a, $b { $a op $b }
> 
> Larry> (presuming we make C<for> actually act like C<map>).
> 
> Why not just make map do that?

The order of C<map>'s arguments is wrong. To make the -> extraction
syntax work we need the data being iterated to be on the left and the
processor block (actually a closure in Perl 6) to be on the right.

Damian

Reply via email to