Off the top of one's head, since there is no particular difference between
an operator and a function, can I see a function as a operator:

(1, 2, 3, 4) >>elems<<(2, 3, 4, 5)          #(2, 2, 2, 2)
(1, 2, 3, 4) >>shift<<(2, 3, 4, 5)          #(2, 3, 4, 5)

Moreover, can I see a subroutine as a operator:

(1, 2, 3, 4) >>{$a>$b??$a!!$b}<<(2, 3, 4, 5)        #(2, 3, 4, 5)

Reply via email to