Skip to content

Commit

Permalink
Merge pull request Raku#356 from dbrunton/patch-3
Browse files Browse the repository at this point in the history
Cross meta operator
  • Loading branch information
sylvarant committed Jan 16, 2016
2 parents 28d006b + f614b01 commit ef9708a
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion doc/Language/operators.pod
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,13 @@ quote it with C<[]> (e.g. C<[\[\x]]>).
say $lazy[^10]; # (1 3 6 10 15 21 28 36 45 55)
=head2 Cross Operators
TODO
The cross metaoperator, C<X>, will apply a given infix operator in order of
cross product to all lists, such that the rightmost operator varies most
quickly.
1..3 X~ <a b>
# produces <1a, 1b, 2a, 2b, 3a, 3b>
=head2 Zip Operators
Expand Down

0 comments on commit ef9708a

Please sign in to comment.