Skip to content

Commit e902bec

Browse files
committed
Corrects minor errors and closes #2826
1 parent bb48e46 commit e902bec

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

doc/Language/statement-prefixes.pod6

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,17 @@
22
33
=TITLE Statement prefixes
44
5-
=SUBTITLE Prefixes that alter the behavior of a statement of set of them
5+
=SUBTITLE Prefixes that alter the behavior of a statement or a set of them
66
7-
Statement prefixes are not statements per se. They are written in front of a
7+
Statement prefixes are written in front of a
88
statement, and change their meaning, their output, or the moment they are going
99
to be run. Since they have a specific behavior, they are also sometimes specific
10-
to some statement or statements.
10+
to some statement or group of statements.
1111
1212
=head2 X<C<lazy>|lazy (statement prefix)>
1313
14-
As a statement prefix, lazy acts in front of any statement, including C<for>
15-
loops, saving the execution for when the variable they are assigned for is
14+
As a statement prefix, C<lazy> acts in front of any statement, including C<for>
15+
loops, saving the execution for when the variable they are assigned to is
1616
actually needed.
1717
1818
=for code
@@ -25,7 +25,7 @@ say eager $var; # OUTPUT: «(0 1 2 3)␤»
2525
say $incremented; # OUTPUT: «4␤»
2626
2727
The C<$incremented> variable is only incremented, that is, the internal part of
28-
the loop is only run, when we eagerly evaluate the variable C<$var> that
28+
the loop is only run when we eagerly evaluate the variable C<$var> that
2929
contains the lazy loop. Eagerness can be applied on a variable in other ways,
3030
such as calling the C<.eager> method on it.
3131

0 commit comments

Comments
 (0)