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

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

From:
autrijus
Date:
April 17, 2006 08:53
Subject:
[svn:perl6-synopsis] r8741 - doc/trunk/design/syn
Message ID:
20060417155255.DB299CBA6D@x12.develooper.com
Author: autrijus
Date: Mon Apr 17 08:52:55 2006
New Revision: 8741

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

Log:
* S04: Capture ~~ Signature can test for bindableness.

Modified: doc/trunk/design/syn/S04.pod
==============================================================================
--- doc/trunk/design/syn/S04.pod	(original)
+++ doc/trunk/design/syn/S04.pod	Mon Apr 17 08:52:55 2006
@@ -764,6 +764,7 @@
     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
+    Capture Signature parameter binding        match if $cap can bind to $sig
     Any     Code<>    simple closure truth*    match if $x() (ignoring $_)
     Any     Class     class membership         match if $_.does($x)
     Any     Role      role playing             match if $_.does($x)



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