2 ms·
>>Why does '+' (and friends) get this special form, but not my functions? You are right, take a look at Perl 6 infix operators. You can define your own operato
by kamaal 11y ago
>>Why does '+' (and friends) get this special form, but not my functions?
You are right, take a look at Perl 6 infix operators. You can define your own operator(treat it like a function, as such) and then use it.
https://perl6advent.wordpress.com/2013/12/22/day-22-a-catalogue-of-operator-types/ https://perl6advent.wordpress.com/2013/12/22/day-22-a-catalo...