develooper Front page | perl.perl6.language | Postings from March 2006

[svn:perl6-synopsis] r8438 - doc/trunk/design/syn

From:
larry
Date:
March 27, 2006 04:37
Subject:
[svn:perl6-synopsis] r8438 - doc/trunk/design/syn
Message ID:
20060327123747.DB0BFCBA47@x12.develooper.com
Author: larry
Date: Mon Mar 27 04:37:45 2006
New Revision: 8438

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

Log:
s/::/!!/


Modified: doc/trunk/design/syn/S06.pod
==============================================================================
--- doc/trunk/design/syn/S06.pod	(original)
+++ doc/trunk/design/syn/S06.pod	Mon Mar 27 04:37:45 2006
@@ -269,7 +269,7 @@
 
     sub infix:<(c)> ($text, $owner) { return $text but Copyright($owner) }
     method prefix:<±> (Num $x) returns Num { return +$x | -$x }
-    multi sub postfix:<!> (Int $n) { $n < 2 ?? 1 :: $n*($n-1)! }
+    multi sub postfix:<!> (Int $n) { $n < 2 ?? 1 !! $n*($n-1)! }
     macro circumfix:«<!-- -->» ($text) is parsed / .*? / { "" }
 
     my $document = $text (c) $me;



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About