Author: pmichaud
Date: Thu Apr 20 11:48:29 2006
New Revision: 8886

Modified:
   doc/trunk/design/syn/S12.pod

Log:
* Fixed "long dot" constructs to reflect new syntax.


Modified: doc/trunk/design/syn/S12.pod
==============================================================================
--- doc/trunk/design/syn/S12.pod        (original)
+++ doc/trunk/design/syn/S12.pod        Thu Apr 20 11:48:29 2006
@@ -221,7 +221,7 @@
     .doit()    # okay, no arguments
     .doit ()   # ILLEGAL (two terms in a row)
     .doit.()   # okay, no arguments, same as .doit()
-    .doit .()  # okay, no arguments, same as .doit()
+    .doit. .() # okay, no arguments, same as .doit() (long dot form)
 
 However, you can turn any of the legal forms above into a list
 operator by appending a colon:
@@ -230,7 +230,7 @@
     .doit(1): 2,3      # okay, one argument plus list
     .doit (): 1,2,3    # ILLEGAL (two terms in a row)
     .doit.(1): 2,3     # okay, same as .doit(1,2,3)
-    .doit .(1,2): 3    # okay, same as .doit(1,2,3)
+    .doit. .(1,2): 3   # okay, same as .doit(1,2,3)
 
 In particular, this allows us to pass a closure in addition to the
 "normal" arguments:

Reply via email to