File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -56,9 +56,12 @@ C<Junction> come into play:
56
56
say %h{one <foo bar>}:exists; # OUTPUT: «one(True, True)»
57
57
say so %h{one <foo bar>}:exists; # OUTPUT: «False»
58
58
59
- Note that the compiler is allowed to parallelize and short-circuit
60
- autothreading (and Junction behavior in general), so it is usually an error
61
- to autothread junctions over code with side effects.
59
+ Note that the compiler is allowed, but not required, to parallelize
60
+ and, where possible, short-circuit autothreading (and Junction behavior
61
+ in general), so it is usually an error to autothread junctions over code
62
+ with side effects. When short-circuiting is involved (e.g. when evaluating
63
+ a L < Junction > in boolean context), its order is not guaranteed and is done
64
+ for performance purposes only.
62
65
63
66
Junctions are meant to be used as matchers in boolean context; introspection
64
67
of junctions is not supported. If you feel the urge to introspect a junction,
You can’t perform that action at this time.
0 commit comments