When the Perl 6 book came out last month, I contacted the authors because they use a "vector operator", >>+<<, rather than hyper-operator ^. Allison Randall replied:

 "The name and the representation changed late last year in
 a big operator cleanup, but the functionality is the same."

So what is '^' being used for, if hyper-operators are no more?
Tom Legrady

Thomas Vesper wrote:

Michal Wallace wrote:

Out of curiosity, why does ~ map to both
unary bitwise-not and binary bitwise-xor
in imcc?

I was expecting xor to be ^ and ^^


See Apocalypse 3 for this.
^ was reclaimed for hyperoperators.
Binary ~ was chosen as replacement since bitwise-not is already somehow
like bitwise xor with only one operand.
And so ~~ became logical xor.








Reply via email to