Perl 6 Parallelism in Perl 6 #20

Feeds

Feeds are created using ==> and <== operators.

Feeds expect a variadic receiver on the "sharp" end and a list of values on the "blunt" end.

grep { $_ % 2 } <== @data

@data ==> grep { $_ % 2 }
continued...
Copyright © 2013
http://www.pmichaud.com/2013/pres/