ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> perl6-language
perl6-language
Re: Ignoring parameters
by Patrick R. Michaud other posts by this author
Jun 17 2005 3:40PM messages near this date
Re: Ignoring parameters | Re: Ignoring parameters
On Sat, Jun 18, 2005 at 08:18:17AM +1000, Damian Conway wrote:
>  The point being that methods no longer topicalize their invocant. 

To update the design docs, A06 currently says:

    Methods, submethods, macros, rules, and pointy subs all
    bind their first argument to C<$_> ; ordinary subs declare a lexical
    C<$_>  but leave it undefined.  

So, methods and submethods no longer bind their
first argument to C<$_> ?  Then do we need this statement at all?  
(I'm suspecting that rules won't need it, leaving just macros and
pointy subs.)

There are other places in A06 that discuss methods, submethods, and
multimethods binding their first arguments to $_ -- I'll see about
putting [Update:...] notes in there for each of those.

I'll also come up with some patches to S12 for the ./ syntax.

Pm
Thread:
Gaal Yahas
Luke Palmer
John Siracusa
Damian Conway
John Siracusa
David Storrs
Matthew Zimmerman
Juerd
Matthew Zimmerman
Damian Conway
David Storrs
Juerd
Kurt
Jonathan Scott Duff
Juerd
Juerd
Kurt
Juerd
John Siracusa
John Siracusa
Adam Kennedy
Juerd
John Siracusa
Adam Kennedy
John Siracusa
Darren Duncan
John Siracusa
Juerd
Juerd
Darren Duncan
John Siracusa
John Siracusa
John Siracusa
Damian Conway
Abhijit Mahabal
Damian Conway
Patrick R. Michaud
John Siracusa
Larry Wall
Gaal Yahas
Damian Conway
Patrick R. Michaud
Damian Conway
Patrick R. Michaud
Larry Wall
Patrick R. Michaud
"TSa (Thomas Sandlaß)"
Larry Wall

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved