Skip to content

Commit 5bbee32

Browse files
committed
Reindexing to try and fix #2320
1 parent f06ab26 commit 5bbee32

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

doc/Language/operators.pod6

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2578,8 +2578,8 @@ Returns the first argument that evaluates to C<True> in boolean context,
25782578
or otherwise the last argument, it short-circuits. Please note that C<or> is easy
25792579
to misuse. See L<traps|/language/traps#Loose_boolean_operators>.
25802580
2581-
2582-
=head2 X<infix C«orelse»|orelse>
2581+
X<|orelse>
2582+
=head2 infix C«orelse»
25832583
25842584
The C<orelse> operator is similar to C<infix //>, except with looser precedence and C<$_> aliasing.
25852585
@@ -2659,7 +2659,8 @@ lines creating the data structure that is going to be processed
26592659
26602660
# @result is [⅖ ⅗ ⅜ ⅘ ⅚ ⅝ ⅞]
26612661
2662-
Now we use the feed operator (left-to-right) with parentheses, read top-to-bottom
2662+
Now we use the feed operator (left-to-right) with parentheses, read
2663+
top-to-bottom
26632664
26642665
my @result = (
26652666
<TWO THREE FOUR FIVE SEVEN> »~» " " X~ <FIFTHS SIXTHS EIGHTHS> # (1) Input
@@ -2675,9 +2676,9 @@ For illustration, method chaining equivalent, read top-to-bottom, using the same
26752676
.grep({ .uniparse })
26762677
.map({ .uniparse });
26772678
2678-
Although in this particular case the result is the same, the feed operator C«==>» more clearly
2679-
shows intent with arrow pointing the data flow. To assign without
2680-
the need of parentheses use another feed operator
2679+
Although in this particular case the result is the same, the feed operator
2680+
C«==>» more clearly shows intent with arrow pointing in the direction of the
2681+
data flow. To assign without the need of parentheses use another feed operator
26812682
26822683
my @result;
26832684
<people of earth>

0 commit comments

Comments
 (0)