Subject: | Inconsistency: `&infix:<^^>` evaluates Callables, but regular `^^` doesn't |
The first example below evaluates the code block, while the two examples after it never do and return the block raw.
Is this by design?
<Zoffix_> m: &infix:<^^>(1, -> {say 2})
<camelia> rakudo-moar 2545e6: OUTPUT: «2»
<Zoffix_> m: 1 ^^ -> {say 2}
<camelia> rakudo-moar 2545e6: ( no output )
<Zoffix_> m: 0 ^^ -> {say 2}
<camelia> rakudo-moar 2545e6: ( no output )
Show quoted text
Zoffix_> m: say (0 ^^ -> {say 2})
<camelia> rakudo-moar 2545e6: OUTPUT: «-> { #`(Block|72040712) ... }»