Skip to content

Commit

Permalink
Fixes X closes #2648
Browse files Browse the repository at this point in the history
  • Loading branch information
JJ committed Mar 4, 2019
1 parent 0c8e149 commit a059e9b
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions doc/Language/operators.pod6
Expand Up @@ -2416,12 +2416,16 @@ list:
say 1..3 Z~ <a b c> Z~ 'x' xx 3; # OUTPUT: «(1ax 2bx 3cx)␤»
X<|cross product operator>
X<|X,operators>
=head2 infix C«X»
sub infix:<X>(**@lists --> List:D)
Defined as:
multi sub infix:<X>(+lol, :&with! --> Seq:D)
multi sub infix:<X>(+lol --> Seq:D)
Creates a cross product from all the lists, ordered so that the
rightmost elements vary most rapidly:
rightmost elements vary most rapidly, and returns a C<Seq>:
1..3 X <a b c> X 9
# produces ((1 a 9) (1 b 9) (1 c 9)
Expand Down

0 comments on commit a059e9b

Please sign in to comment.