Skip to content

Commit

Permalink
Merge pull request #2461 from interlab/patch-2
Browse files Browse the repository at this point in the history
fix output value for ^^ operator
  • Loading branch information
AlexDaniel committed Nov 14, 2018
2 parents a8a25c0 + a1065a8 commit 39d580d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/Language/operators.pod6
Expand Up @@ -1976,7 +1976,7 @@ any arguments after a 2nd true result.
say 0 ^^ 42; # OUTPUT: «42␤»
say '' ^^ 0; # OUTPUT: «0␤»
say 0 ^^ 42 ^^ 1 ^^ die "never called"; # OUTPUT: «␤»
say 0 ^^ 42 ^^ 1 ^^ die "never called"; # OUTPUT: «Nil␤»
Note that the semantics of this operator may not be what you assume: infix C«^^»
flips to the first true value it finds and then flips to Nil I<forever> after the
Expand Down

0 comments on commit 39d580d

Please sign in to comment.