Author: lwall
Date: 2010-01-30 01:07:03 +0100 (Sat, 30 Jan 2010)
New Revision: 29600

Modified:
   docs/Perl6/Spec/S03-operators.pod
Log:
[S03] add new E operator


Modified: docs/Perl6/Spec/S03-operators.pod
===================================================================
--- docs/Perl6/Spec/S03-operators.pod   2010-01-29 23:59:38 UTC (rev 29599)
+++ docs/Perl6/Spec/S03-operators.pod   2010-01-30 00:07:03 UTC (rev 29600)
@@ -15,8 +15,8 @@
 
     Created: 8 Mar 2004
 
-    Last Modified: 23 Jan 2010
-    Version: 186
+    Last Modified: 29 Jan 2010
+    Version: 187
 
 =head1 Overview
 
@@ -51,7 +51,7 @@
     R  Item assignment   = := ::= => += -= **= xx= .=
     L  Loose unary       so not
     X  Comma operator    , p5=> :
-    X  List infix        Z minmax X X~ X* Xeqv ...
+    X  List infix        Z minmax X X~ X* Xeqv ... E
     R  List prefix       print push say die map substr ... [+] [*] any $ @
     X  Loose and         and andthen
     X  Loose or          or xor orelse
@@ -1979,6 +1979,18 @@
 
     @a = 1 ... *+0.00000000000000000000000000000000000001, 2;  # crunch
 
+=item *
+
+C<< infix:<E> >>, test for EMPTY iterator
+
+Returns the list on the left unless any of them are EMPTY, in which
+case it executes the thunk on the right.  Typically used in a loop
+with C<take>:
+
+    loop {
+        take @iterators>>.get E last;
+    }
+
 =back
 
 Many of these operators return a list of C<Parcel>s, which depending on

Reply via email to