From 149d8506fa70f0e27784775d65c6902ef4f7dc39 Mon Sep 17 00:00:00 2001 From: JJ Merelo Date: Mon, 1 Apr 2019 07:33:59 +0200 Subject: [PATCH] Adds declaration of junctions, refs #2703 --- doc/Type/Junction.pod6 | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/doc/Type/Junction.pod6 b/doc/Type/Junction.pod6 index fb3828258..d309ee472 100644 --- a/doc/Type/Junction.pod6 +++ b/doc/Type/Junction.pod6 @@ -28,6 +28,11 @@ C. =end table +By default, C 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|/routine/all>, L|/routine/none> or +L|/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. Instead of producing an error, the signature binding is repeated for each value of the junction. @@ -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 \ No newline at end of file +# vim: expandtab softtabstop=4 shiftwidth=4 ft=perl6