Skip to content

Instantly share code, notes, and snippets.

@peschwa
Created September 17, 2015 19:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save peschwa/149552262ee830d90fc5 to your computer and use it in GitHub Desktop.
Save peschwa/149552262ee830d90fc5 to your computer and use it in GitHub Desktop.
19:16 <psch> r: my @a = 1, 2, 3; @a <<+<< ();
19:16 <camelia> rakudo-{moar,jvm} 25fed4: ( no output )
19:16 <psch> r: my @a = 1, 2, 3; @a <<+>> ();
19:16 <camelia> rakudo-{moar,jvm} 25fed4: ( no output )
19:16 <psch> r: my @a = 1, 2, 3; @a >>+>> ();
19:17 <camelia> rakudo-{moar,jvm} 25fed4: ( no output )
19:17 <psch> r: my @a = 1, 2, 3; @a >>+>> (); @a <<+>> (); @a <<+<< ()
19:17 <camelia> rakudo-jvm 25fed4: OUTPUT«Cannot call HYPER(Sub+{<anon>}+{Precedence}, Int, Int, Int); none of these signatures match:␤ (&op,
\left, \right, :$dwim-left, :$dwim-right)␤ (&op, Associative:D \left, Associative:D \right, :$dwim-left, :$dwim-right)␤
(&op, Associative:D \l…»
19:17 <camelia> ..rakudo-moar 25fed4: ( no output )
19:17 <psch> r: my @a = 1, 2, 3; @a >>+>> (); @a <<+<< (); @a <<+>> ()
19:17 <camelia> rakudo-moar 25fed4: ( no output )
19:17 <camelia> ..rakudo-jvm 25fed4: OUTPUT«Cannot call HYPER(Sub+{<anon>}+{Precedence}, Int, Int, Int); none of these signatures match:␤
(&op, \left, \right, :$dwim-left, :$dwim-right)␤ (&op, Associative:D \left, Associative:D \right, :$dwim-left, :$dwim-right)␤
(&op, Associative:D \l…»
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment