Skip to content

Commit beea531

Browse files
committed
[S08] Minimal changes to Context Deferral, needs more attention.
Removed the @%a form because that's already defined as @(%a). The ¢a form doesn't exist anymore, however it's temporarily left in the spec because I'm not clear on what context deferral exactly is, much less why Capture and Parcel need to be treated separately for it.
1 parent 0b7df09 commit beea531

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed

S08-capture.pod

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -215,21 +215,14 @@ you should implement wantarray-like behavior is by properly overriding
215215
the coercion for each context. The Contextual::Return module is an
216216
implementation of that concept in Perl 5.
217217

218+
[ The capture sigil does not exist, though left in this document for the time
219+
being pending a suitable replacement mechanism to handle context deferral.]
220+
218221
In order to use the context deferral in your code, you need to use the
219222
"capture sigil", which can be presented in two forms:
220223

221224
my ¢a = (1, (2, (3, 4)));
222225

223-
or
224-
225-
my @%a = (1, (2, (3, 4)));
226-
227-
The latter is provided as an alternative for situations where you want
228-
to preserve the code in 7-bits only.
229-
230-
[Update: C<@%a> might not work out as a capture sigil --
231-
See L<http://irclog.perlgeek.de/perl6/2009-09-21#i_1523801>.]
232-
233226
=head1 Additions
234227

235228
Please post errors and feedback to perl6-language. If you are making

0 commit comments

Comments
 (0)