Re: Specifying class interfaces with AUTOMETH

2004-05-07 Thread Larry Wall
On Fri, May 07, 2004 at 01:39:43PM -0400, Austin Hastings wrote: : I agree: classes have a chance to pre-specify the class : signatures, and objects get a chance to dynamically agree to : undertake method calls. : : The timeframe I was thinking of was object construction time. I don't see the val

RE: Specifying class interfaces with AUTOMETH

2004-05-07 Thread Austin Hastings
> -Original Message- > From: Larry Wall [mailto:[EMAIL PROTECTED] > Sent: Friday, 07 May, 2004 12:40 PM > To: Perl6 Language > Subject: Re: Specifying class interfaces with AUTOMETH > > : This seems an awkward way to implement dispatch, since the > : price of using AUTOMETH is being able to

Re: Specifying class interfaces with AUTOMETH

2004-05-07 Thread Larry Wall
On Wed, May 05, 2004 at 08:12:24PM -0400, Austin Hastings wrote: : Apparently the AUTOMETH code will be invoked to determine what code matches : a request. AUTOMETH will "return a reference to" a matching method. This : implies that AUTOMETH is expected to resolve dispatch within the class -- : "He

Re: is rw trait's effect on signature

2004-05-07 Thread Mark Sparshatt
Dan Sugalski wrote: We can't devolve to isa checking under the hood, because there are cases where a class can assert that it has a role without pulling in the role externally. (Storable, for example, will be a likely thing here as classes assert they do Storable without pulling in an external