Perl 6 Parallelism in Perl 6 #19

Junction autothreading

any( $a == @list[0], $a == @list[1], $a == @list[2], ... )

In boolean context, a smart junction dispatcher can "short circuit" as soon as a specific result is found:

See Synopsis 9 for junction autothreading

Copyright © 2013
http://www.pmichaud.com/2013/pres/