Methods vs. Subs

2006-07-08 Thread Jonathan Lang
Is there anything that you can do with a sub (first parameter being some sort of object) that you cannot do with a method? Frex, given: multi method my_method($invocant:); would topical_call := my_method.assuming :invocant$_; be legal? -- Jonathan Dataweaver Lang

Re: Methods vs. Subs

2006-07-08 Thread Larry Wall
On Sat, Jul 08, 2006 at 07:42:06AM -0700, Jonathan Lang wrote: : Is there anything that you can do with a sub (first parameter being : some sort of object) that you cannot do with a method? Frex, given: : : multi method my_method($invocant:); : : would : : topical_call := my_method.assuming

S29 update ready

2006-07-08 Thread Aaron Sherman
I've gathered my ducks in a row, used the feedback that I've gotten so far, and I think I'm ready to officially update S29. For that I need two things: 1) I'd really like Larry to glance over the changes and $s29.bless but all comments are welcome 2) I'll need commit rights to whatever

RE: S29 update ready

2006-07-08 Thread Joe Gottman
-Original Message- From: Aaron Sherman [mailto:[EMAIL PROTECTED] Sent: Saturday, July 08, 2006 6:05 PM To: Perl6 Language List Subject: S29 update ready I've gathered my ducks in a row, used the feedback that I've gotten so far, and I think I'm ready to officially update S29.

RE: S29 update ready

2006-07-08 Thread Darren Duncan
At 8:32 PM -0400 7/8/06, Joe Gottman wrote: I have one minor comment about join. You should specify its behavior when it is passed an empty list. Does it return undef or the empty string? I think it makes the most sense for it to return an empty string, which is a reasonable degenerate case

RE: S29 update ready

2006-07-08 Thread Darren Duncan
At 6:25 PM -0700 7/8/06, Darren Duncan wrote: At 8:32 PM -0400 7/8/06, Joe Gottman wrote: I have one minor comment about join. You should specify its behavior when it is passed an empty list. Does it return undef or the empty string? I think it makes the most sense for it to return an empty