Author: diakopter
Date: 2010-05-20 01:44:05 +0200 (Thu, 20 May 2010)
New Revision: 30722
Modified:
docs/Perl6/Spec/S06-routines.pod
Log:
[S06] specify syntax for strongly-typed closure variables (reprise)
Modified: docs/Perl6/Spec/S06-routines.pod
===================================================================
--- docs/Perl6/Spec/S06-routines.pod 2010-05-19 23:41:19 UTC (rev 30721)
+++ docs/Perl6/Spec/S06-routines.pod 2010-05-19 23:44:05 UTC (rev 30722)
@@ -211,7 +211,7 @@
The same signature can be used to mark the type of a closure parameter to
another subroutine:
- sub (int $n, &:(Str, int, int --> Grammar) --> Str) { ... }
+ sub (int $n, &:(Str, int, int --> Grammar) $g_fact --> Str) { ... }
B<Trait> is the name for a compile-time (C<is>) property.
See L<"Properties and traits">.