Skip to content

Commit 809ee43

Browse files
committed
Fix usage to avoid neologism
Fix typo
1 parent c379f5b commit 809ee43

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/Language/statement-prefixes.pod6

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ say @array.eager; # OUTPUT: «[0 1 4]␤»
3636
3737
This prefix can also be used L<in front of
3838
C<gather>|/language/control#gather/take> to make the inner statements behave
39-
lazily; in general, any set of statements that returns a value will be lazified
40-
using this.
39+
lazily; in general, any set of statements that returns a value will be made
40+
lazy using this.
4141
4242
=head2 X<C<eager>|eager (statement prefix)>
4343
@@ -48,7 +48,7 @@ behind, throwing away laziness and returning the result.
4848
my $result := eager gather { for 1..3 { say "Hey"; take $_² } };
4949
say $result[0]; # OUTPUT: «Hey␤Hey␤Hey␤1␤»
5050
51-
C<gather> is L<implictly lazy when bound to a scalar|/syntax/gather%20take>.
51+
C<gather> is L<implicitly lazy when bound to a scalar|/syntax/gather%20take>.
5252
However, with C<eager> as a statement prefix it will run all three iterations in
5353
the loop, as shown by the printed "Hey", even if we are just requesting the
5454
first one in a row.

0 commit comments

Comments
 (0)