Author: lwall Date: 2008-12-31 03:23:01 +0100 (Wed, 31 Dec 2008) New Revision: 24699
Modified: docs/Perl6/Spec/S03-operators.pod Log: [S03] clean up some awkward phrasing Modified: docs/Perl6/Spec/S03-operators.pod =================================================================== --- docs/Perl6/Spec/S03-operators.pod 2008-12-31 02:14:08 UTC (rev 24698) +++ docs/Perl6/Spec/S03-operators.pod 2008-12-31 02:23:01 UTC (rev 24699) @@ -2650,8 +2650,9 @@ (1|2|3) + 4; # 5|6|7 (1|2) + (3&4); # (4|5) & (5|6) -Note how the result is a junction representing the operator applied to each -combination of values, when two junctions are applied through an operator. +As illustrated by the last example, when two junctions are applied +through a single operator, the result is a junction representing the +application of the operator to each possible combination of values. Junctions come with the functional variants C<any>, C<all>, C<one>, and C<none>. @@ -2770,7 +2771,7 @@ =item * -The C<leg> operator (less than, equal or greater than) is defined +The C<leg> operator (less than, equal to, or greater than) is defined in terms of C<cmp>, so C<$a leg $b> is now defined as C<~$a cmp ~$b>. The sort operator still defaults to C<cmp> rather than C<leg>. The C<< <=> >> operator's semantics are unchanged except that it returns