Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
spec multi-arity limit closures for sequence operator
  • Loading branch information
timo committed Dec 26, 2013
1 parent 763b4b3 commit dec4bda
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions S03-operators.pod
Expand Up @@ -1835,6 +1835,9 @@ matching> below), the usual smartmatching rules apply. If the
limit is C<*>, the sequence has no limit. If the limit is a closure,
it will be evaluated for boolean truth on the current candidate,
and the sequence will continue as long as the closure returns false.
If the limit is a closure with more than 1 - or infinite - arguments
the appropriate number of elements from the end of the sequence
- or the whole sequence so far - are passed.
It's quite possible for a sequence to return fewer values than are
listed if the very first value matches the end test:

Expand Down

0 comments on commit dec4bda

Please sign in to comment.