Navigation Menu

Skip to content

Commit

Permalink
mention that we force sink context on some loops
Browse files Browse the repository at this point in the history
  • Loading branch information
TimToady committed Dec 20, 2013
1 parent 51a72a0 commit 2387578
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions S07-lists.pod
Expand Up @@ -247,6 +247,9 @@ that is "known infinite" or upon reaching the end of the sequence.

The C<for> loop and looping routines such as C<map>, C<grep>, etc. are
Mostly Lazy by default, but will be eager when evaluated in sink context.
(Note, however, that we force C<for>, C<while>, C<until>, C<repeat> and
C<loop> loops to always be in sink context when used as a statement within
a statementlist.)

=item Slurpy parameters

Expand Down

0 comments on commit 2387578

Please sign in to comment.