Author: larry
Date: Wed Nov 29 09:20:50 2006
New Revision: 13487

Modified:
   doc/trunk/design/syn/S01.pod
   doc/trunk/design/syn/S02.pod
   doc/trunk/design/syn/S03.pod
   doc/trunk/design/syn/S04.pod
   doc/trunk/design/syn/S05.pod
   doc/trunk/design/syn/S06.pod
   doc/trunk/design/syn/S09.pod
   doc/trunk/design/syn/S10.pod
   doc/trunk/design/syn/S11.pod
   doc/trunk/design/syn/S12.pod
   doc/trunk/design/syn/S13.pod
   doc/trunk/design/syn/S17.pod
   doc/trunk/design/syn/S29.pod

Log:
More entries in smartmatch table.
Added vim modelines to help perpetuate audreyt++'s expandtabs.


Modified: doc/trunk/design/syn/S01.pod
==============================================================================
--- doc/trunk/design/syn/S01.pod        (original)
+++ doc/trunk/design/syn/S01.pod        Wed Nov 29 09:20:50 2006
@@ -161,3 +161,5 @@
 into a coherent whole.
 
 =back
+
+=for vim:set expandtab sw=4:

Modified: doc/trunk/design/syn/S02.pod
==============================================================================
--- doc/trunk/design/syn/S02.pod        (original)
+++ doc/trunk/design/syn/S02.pod        Wed Nov 29 09:20:50 2006
@@ -2420,3 +2420,5 @@
 
 Any category containing "circumfix" requires two token arguments, supplied
 in slice notation.
+
+=for vim:set expandtab sw=4:

Modified: doc/trunk/design/syn/S03.pod
==============================================================================
--- doc/trunk/design/syn/S03.pod        (original)
+++ doc/trunk/design/syn/S03.pod        Wed Nov 29 09:20:50 2006
@@ -14,7 +14,7 @@
   Date: 8 Mar 2004
   Last Modified: 13 Nov 2006
   Number: 3
-  Version: 75
+  Version: 76
 
 =head1 Changes to Perl 5 operators
 
@@ -582,8 +582,10 @@
     $_      $x        Type of Match Implied    Matching Code
     ======  =====     =====================    =============
     Any     Code:($)  scalar sub truth         match if $x($_)
-    Hash    Hash      hash keys identical      match if $_.keys.sort »eq« 
$x.keys.sort
-    Hash    any(Hash) hash key intersection    match if $_{any(Hash.keys)}
+    Hash    Hash      hash keys identical      match if $_.keys === $x.keys
+    Hash    Set       members identical        match if $_.keys === $x
+    Set     Set       members identical        match if $_ === $x
+    Hash    any(Hash) hash key intersection    match if exists 
$_{any(Hash.keys)}
     Hash    Array     hash value slice truth   match if $_{any(@$x)}
     Hash    any(list) hash key slice existence match if exists $_{any(list)}
     Hash    all(list) hash key slice existence match if exists $_{all(list)}
@@ -596,9 +598,13 @@
     Array   Regex     array grep               match if any(@$_) ~~ /$x/
     Array   Num       array contains number    match if any($_) == $x
     Array   Str       array contains string    match if any($_) eq $x
+    Array   Buf       array equivalent to buf  match if $_ eqv Array($x)
+    Array   Set       array equivalent to set  match if Set($_) === $x
+    Array   Any       array contains item*     match if any($_) === $x
     Array   .[number] array element truth*     match if $_[number]
     Num     NumRange  in numeric range         match if $min <= $_ <= $max
     Str     StrRange  in string range          match if $min le $_ le $max
+    Any     Range     in range                 match if $min !after $_ !after 
$max
     Capture Signature parameter binding        match if $cap can bind to $sig
     Code    Signature signature compatibility* match if $_ is a subset of $x
   Signature Signature signature compatibility  match if $_ is a subset of $x
@@ -1699,3 +1705,4 @@
 Comma is the only listop that is allowed to occur where an operator is
 expected.  All other listops function as a term within the list to the left.
 
+=for vim:set expandtab sw=4:

Modified: doc/trunk/design/syn/S04.pod
==============================================================================
--- doc/trunk/design/syn/S04.pod        (original)
+++ doc/trunk/design/syn/S04.pod        Wed Nov 29 09:20:50 2006
@@ -985,3 +985,5 @@
 to see transient variables in their current lexical scope, so their
 cloning status depends at least on the cloning status of the block
 they're in.
+
+=for vim:set expandtab sw=4:

Modified: doc/trunk/design/syn/S05.pod
==============================================================================
--- doc/trunk/design/syn/S05.pod        (original)
+++ doc/trunk/design/syn/S05.pod        Wed Nov 29 09:20:50 2006
@@ -3071,3 +3071,5 @@
      @array».match($regex);
 
 =back
+
+=for vim:set expandtab sw=4:

Modified: doc/trunk/design/syn/S06.pod
==============================================================================
--- doc/trunk/design/syn/S06.pod        (original)
+++ doc/trunk/design/syn/S06.pod        Wed Nov 29 09:20:50 2006
@@ -2653,3 +2653,5 @@
 If a switch of the form C<-abc> cannot be matched against any
 particular parameter, an attempt will be made to match it as if it
 had been written C<-a -b -c>.
+
+=for vim:set expandtab sw=4:

Modified: doc/trunk/design/syn/S09.pod
==============================================================================
--- doc/trunk/design/syn/S09.pod        (original)
+++ doc/trunk/design/syn/S09.pod        Wed Nov 29 09:20:50 2006
@@ -763,3 +763,4 @@
 
 This rule applies to C<Array>, C<Hash>, and C<Scalar> container objects.
 
+=for vim:set expandtab sw=4:

Modified: doc/trunk/design/syn/S10.pod
==============================================================================
--- doc/trunk/design/syn/S10.pod        (original)
+++ doc/trunk/design/syn/S10.pod        Wed Nov 29 09:20:50 2006
@@ -185,3 +185,5 @@
 or maybe even just:
 
     our &AUTODEF ::= &BUILD;
+
+=for vim:set expandtab sw=4:

Modified: doc/trunk/design/syn/S11.pod
==============================================================================
--- doc/trunk/design/syn/S11.pod        (original)
+++ doc/trunk/design/syn/S11.pod        Wed Nov 29 09:20:50 2006
@@ -360,3 +360,5 @@
 specified already implies it, such as use of a "C<#!/usr/bin/perl6>"
 shebang line.  Nor is it necessary to force Perl 6 in any file that
 begins with the "class" or "module" keywords.
+
+=for vim:set expandtab sw=4:

Modified: doc/trunk/design/syn/S12.pod
==============================================================================
--- doc/trunk/design/syn/S12.pod        (original)
+++ doc/trunk/design/syn/S12.pod        Wed Nov 29 09:20:50 2006
@@ -1737,3 +1737,5 @@
 sometimes relies on this ability to determine whether a superclass supplies
 a method of a particular name if it's required and hasn't been supplied
 by the class or one of its roles.
+
+=for vim:set expandtab sw=4:

Modified: doc/trunk/design/syn/S13.pod
==============================================================================
--- doc/trunk/design/syn/S13.pod        (original)
+++ doc/trunk/design/syn/S13.pod        Wed Nov 29 09:20:50 2006
@@ -129,3 +129,5 @@
 because the multi dispatch cares only about the class.
 
 =cut
+
+=for vim:set expandtab sw=4:

Modified: doc/trunk/design/syn/S17.pod
==============================================================================
--- doc/trunk/design/syn/S17.pod        (original)
+++ doc/trunk/design/syn/S17.pod        Wed Nov 29 09:20:50 2006
@@ -26,3 +26,5 @@
 =head1 Universal Asynchronous I/O
 
 =head1 Timers and Timeouts
+
+=for vim:set expandtab sw=4:

Modified: doc/trunk/design/syn/S29.pod
==============================================================================
--- doc/trunk/design/syn/S29.pod        (original)
+++ doc/trunk/design/syn/S29.pod        Wed Nov 29 09:20:50 2006
@@ -19,4 +19,4 @@
 
     http://svn.openfoundry.org/pugs/docs/Perl6/Spec/Functions.pod
 
-
+=for vim:set expandtab sw=4:

Reply via email to