Hello everyone!

First of all - I do not closely follow perl6/parrot development. I read "this 
week on perl6" on www.perl.com but that's it - so if I'm completly off the 
track, let me know.


Regarding the discussions about the hyper operator (eg adding elements of 2 
arrays into another array) I've had the following idea: use "=>"

- in perl5 there is an operator "=>" which is used in associative array 
assignment. In perl6 this means "pairs" IIRC, which could get interpreted as 
"add pairs of numbers"
- it has a nice visual feeling: combines 2 elements (two lines) into 1 (one 
end).


So an usage could be
        @a = @b =>+ @b;
        @a = @b =+> @b;
        @a = @b +=> @b;
where the 2nd form would be the most intuitive (from reading this source).
Hmm, that would leave us with
        @a =+>= @b;
which ain't as pretty.


What do you think?


Regards,

Phil


Reply via email to