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:
- ?any(...) - short circuit as True when True is found
- ?none(...) - short circuit as False when True is found
- ?all(...) - short circuit as False when False is found
- ?one(...) - short circuit as False when two Trues are found
See Synopsis 9 for junction autothreading