Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Adapt Supply.rotor to match List.rotor
  • Loading branch information
lizmat committed Apr 23, 2015
1 parent 02c24b5 commit 84b405c
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions S17-concurrency.pod
Expand Up @@ -511,11 +511,9 @@ Produces a C<Supply> that produces the number of elements seen in the given C<Su

=item rotor

my $b = $s.rotor( $elems, $overlap );
my $b = $s.rotor(@cycle);

my $b = $s.rotor; # elems = 2, overlap = 1

Produces a "rotoring" C<Supply> where every C<elems> number of elements are combined, and the last C<overlap> elements of such a combination become the initial elements of the next combination. This can e.g. be used to convert a C<Supply> of coordinates into a C<Supply> of begin/end points.
Produces a "rotoring" C<Supply> with the same semantics as List.rotor.

=item delayed

Expand Down

0 comments on commit 84b405c

Please sign in to comment.