Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
First stage adapting methods from Seq refs #1897
- Loading branch information
Showing
1 changed file
with
40 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,40 @@ | ||
| =begin pod | ||
| =TITLE class HyperSeq | ||
| =SUBTITLE An object for performing batches of work in parallel with ordered | ||
| output | ||
| class HyperSeq does Iterable does Sequence { } | ||
| An HyperSeq is the intermediate object used when the operator | ||
| L<C<hyper>|/routine/hyper> is invoked on a L<C<Seq>|/type/Seq>. In general, | ||
| it's not intended for direct consumption by the developer. | ||
| =head1 Methods | ||
| =head2 method iterator | ||
| method iterator(HyperSeq:D: --> Iterator:D) | ||
| Returns the underlying iterator. | ||
| =head2 method is-lazy | ||
| method is-lazy(--> False ) | ||
| Returns C<False>. | ||
| =head2 method sink | ||
| Defined as: | ||
| method sink(--> Nil) | ||
| Sinks the underlying data structure, producing any side effects. | ||
| =end pod | ||
|
|
||
| # vim: expandtab softtabstop=4 shiftwidth=4 ft=perl6 |