[PEAK] Re: ruledispatch

Simon Belak simon.belak at hruska.si
Sun Apr 2 14:11:39 EDT 2006

Phillip J. Eby wrote:
> I think you want functions.GenericFunction, so you get all the default 
> 'when', 'around', etc. methods.  I don't think those are available on 
> AbstractGeneric, so you'd have to duplicate them.  I suggest you copy 
> the standard combine() method and then edit it.

Is there no more elegant way of doing it than copying combine()?

For the sake of argument let's say I just want to define a new strategy 
for method resolution order of when().


More information about the PEAK mailing list