Author: audreyt
Date: Thu Nov 2 03:00:10 2006
New Revision: 13377
Modified:
doc/trunk/design/syn/S03.pod
doc/trunk/design/syn/S06.pod
Log:
* S03: Missing semicolon.
* S06: Missing comma. (spotted by cognominal++.)
Modified: doc/trunk/design/syn/S03.pod
==============================================================================
--- doc/trunk/design/syn/S03.pod (original)
+++ doc/trunk/design/syn/S03.pod Thu Nov 2 03:00:10 2006
@@ -740,7 +740,7 @@
base operator. This means that you must parenthesize your comma
lists for most operators. For example:
- -« (1,2,3) # (-1, -2, -3)
+ -« (1,2,3); # (-1, -2, -3)
(1,1,2,3,5) »+« (1,2,3,5,8); # (2,3,5,8,13)
A unary hyper operator (either prefix or postfix) has only one
Modified: doc/trunk/design/syn/S06.pod
==============================================================================
--- doc/trunk/design/syn/S06.pod (original)
+++ doc/trunk/design/syn/S06.pod Thu Nov 2 03:00:10 2006
@@ -715,7 +715,7 @@
takes a snapshot of what's left of the Capture at that point and then
continues binding as if the Capture parameter weren't there:
- sub compare (|$args Num $x, Num $y --> Bool) { ... }
+ sub compare (|$args, Num $x, Num $y --> Bool) { ... }
=head2 Flattening argument lists