Skip to content

Commit

Permalink
Add example for "R meta operator used with list-associative operators"
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasvalle committed Jun 11, 2019
1 parent 5b14a35 commit 09b84e6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions doc/Language/operators.pod6
Expand Up @@ -273,8 +273,9 @@ X<|R,reverse metaoperator>
Any infix operator may be called with its two arguments reversed by
prefixing with C<R>. Associativity of operands is reversed as well.
say 4 R/ 12; # OUTPUT: «3␤»
say [R/] 2, 4, 16; # OUTPUT: «2␤»
say 4 R/ 12; # OUTPUT: «3␤»
say [R/] 2, 4, 16; # OUTPUT: «2␤»
say [RZ~] <1 2 3>,<4 5 6> # OUTPUT: «(41 52 63)␤»
X<|»=«>
X<|«=»>
Expand Down

0 comments on commit 09b84e6

Please sign in to comment.