# New Ticket Created by "Carl Mäsak"
# Please include the string: [perl #109800]
# in the subject line of all future correspondence about this issue.
# <URL: https://rt.perl.org:443/rt3/Ticket/Display.html?id=109800 >
<spine> perl6: my &infix:<c> = {$^a+$^b}; say 1 c 2;
<p6eval> niecza v14-11-gde9cc16: OUTPUT«3»
<p6eval> ..rakudo a47a56: OUTPUT«===SORRY!===Confusedat /tmp/o_PnO5M2fr:1»
<spine> reading moritz' comments on my solution to t1 for the p6cc
just made me remember how sad i was about this not working in rakudo
<spine> made me do unnecessary double function calls :)
<jnthn> Hm, should that work...
<jnthn> std: my &infix:<c> = {$^a+$^b}; say 1 c 2;
<p6eval> std 48335fc: OUTPUT«ok 00:01 116m»
<jnthn> Hm, appears so.
<spine> well, I don't know the spec, but it would enable you to use
curryed functions as infix ops
<masak> it should definitely work.
* masak submits rakudobug
<masak> nom: sub infix:<c> { $^a + $^b }; say 1 c 2
<p6eval> nom a47a56: OUTPUT«3»