Skip to content

Commit 30634e9

Browse files
committed
Forgot Iterator.push-all
1 parent 9d78199 commit 30634e9

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

lib/Type/Iterator.pod

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,15 @@ Iterators with side effects should produce exactly C<$count> elements;
5959
iterators without side effects (such as L<Range|/type/Range> iterators) can
6060
produce more elements to achieve better performance.
6161
62+
=head2 method push-all
63+
64+
method push-all(Iterator:D: $target)
65+
66+
Produces all elements from the iterator and pushes them to C<$target>.
67+
68+
The fallback is implemented in terms of C<push-at-least> with a larget
69+
C<$count>.
70+
6271
=head2 method push-until-lazy
6372
6473
method push-until-lazy(Iterator:D: $target) returns Mu

0 commit comments

Comments
 (0)