Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Adds declaration of junctions, refs #2703
  • Loading branch information
JJ committed Apr 1, 2019
1 parent a0ab6a1 commit 149d850
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion doc/Type/Junction.pod6
Expand Up @@ -28,6 +28,11 @@ C<none>.
=end table
By default, C<any> Junctions are defined. In order to create the other types of
junctions, you use the string that represents the type followed by any object,
or else call L<C<.all>|/routine/all>, L<C<.none>|/routine/none> or
L<C<.one>|/routine/one> on the object.
Autothreading happens when a junction is bound to a parameter of a code object
that doesn't accept values of type C<Junction>. Instead of producing an error,
the signature binding is repeated for each value of the junction.
Expand Down Expand Up @@ -256,4 +261,4 @@ On the other hand, the versions of C<~> that use a string as one argument will j
=end pod

# vim: expandtab softtabstop=4 shiftwidth=4 ft=perl6
# vim: expandtab softtabstop=4 shiftwidth=4 ft=perl6

0 comments on commit 149d850

Please sign in to comment.