Parallel list generators
- Perl 6 has lazy lists.
- "Generators" represent the lazy portions of the list
@results := map { .say; $_ * 2 }, @data; # nothing output yet, map is lazy my $x = @results[2]; # first three values of @data displayed in order my $count = +@results; # remaining values of @data displayed in order