method push-until-lazy
1 | role Iterator |
1.1 | (Iterator) method push-until-lazy |
Documentation for method push-until-lazy
assembled from the following types:
role Iterator
From Iterator
(Iterator) method push-until-lazy
Defined as:
method push-until-lazy(Iterator: --> Mu)
Should produce values until it considers itself to be lazy, and push them onto $target
.
The Iterator role implements this method as a no-op if is-lazy
returns a True value, or as a synonym of push-all
if not.
This matters mostly for iterators that have other iterators embedded, some of which might be lazy, while others aren't.