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

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

From:
larry
Date:
March 27, 2006 14:57
Subject:
[svn:perl6-synopsis] r8451 - doc/trunk/design/syn
Message ID:
20060327225703.8C57BCBA47@x12.develooper.com
Author: larry
Date: Mon Mar 27 14:57:02 2006
New Revision: 8451

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

Log:
Added def of prototypes from audreyt++ (with clarification of scoping).


Modified: doc/trunk/design/syn/S06.pod
==============================================================================
--- doc/trunk/design/syn/S06.pod	(original)
+++ doc/trunk/design/syn/S06.pod	Mon Mar 27 14:57:02 2006
@@ -37,6 +37,10 @@
 B<Multimethods> (keyword: C<multi>) are routines that transcend class
 boundaries, and can have one or more invocants. 
 
+B<Prototypes> (keyword: C<proto>) specify the commonalities (such
+as parameter names, fixity and associativity) shared by all multis
+of that name in the scope of the C<proto> declaration.
+
 B<Rules> (keyword: C<rule>) are methods (of a grammar) that perform
 pattern matching. Their associated block has a special syntax (see
 Synopsis 5).



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