Parallel list generators (eager)
@results := map { .say; $_ * 2 }, @data; # nothing output yet, map is lazy
- eager prefix
- forces a list to become non-lazy
- all generators evaluated in sequence
- results in sequence
@results := eager map { .say; $_ * 2 }, @data; # eager evaluation forced # each element of @data printed in sequence