Damian Conway wrote: > > On a cursory reading, I have no objections to it, if the indirect > object syntax is to be preserved. Thanks for the feedback, I appreciate it. Note, however, that the RFC doesn't just cover indirect object syntax, but also function syntax: $r = new(CGI, @args); # CGI->new(@args) dostuff(@stuff); # $stuff[0]->dostuff(@stuff[1..$#stuff]) This is intended to address the tight-binding problem of the indirect object. Just wanted to clarify this, as I think this may be the part that overlaps with what you're doing. Under this syntax, the object would be called for you automatically, so your prototypes wouldn't have to deal with optional first arguments at all: print($FILE, "$stuff"); # $FILE->print($stuff) print("$stuff"); # main::print($stuff) -Nate
- RFC 174 (v1) Parse C<func($obj, @args)> as C<... Perl6 RFC Librarian
- Re: RFC 174 (v1) Parse C<func($obj, @args)>... Michael G Schwern
- Re: RFC 174 (v1) Parse C<func($obj, @args)... Tom Christiansen
- Re: RFC 174 (v1) Parse C<func($obj, @args)>... Chaim Frenkel
- Re: RFC 174 (v1) Parse C<func($obj, @args)... Tom Christiansen
- Re: RFC 174 (v1) Parse C<func($obj, @args)>... Damian Conway
- Re: RFC 174 (v1) Parse C<func($obj, @args)... Nathan Wiger
- Re: RFC 174 (v1) Parse C<func($obj, @args)... Damian Conway
- Re: RFC 174 (v1) Parse C<func($obj, @a... Tom Christiansen
- Re: RFC 174 (v1) Parse C<func($obj, @args)>... Damian Conway
- Re: RFC 174 (v1) Parse C<func($obj, @args)... Tom Christiansen
- Re: RFC 174 (v1) Parse C<func($obj, @a... Tom Christiansen
- Re: RFC 174 (v1) Parse C<func($obj, @args)... Nathan Wiger
- Re: RFC 174 (v1) Parse C<func($obj, @a... Tom Christiansen
- Re: RFC 174 (v1) Parse C<func($obj... Nathan Wiger
- Re: RFC 174 (v1) Parse C<func($obj, @args)... Damian Conway
- Re: RFC 174 (v1) Parse C<func($obj, @args)>... Damian Conway