[PEAK] Re: ruledispatch

Phillip J. Eby pje at telecommunity.com
Wed Mar 15 09:27:44 EST 2006


At 12:19 PM 3/15/2006 +0100, Elvelind Grandin wrote:
>Hi again.
>
>One followup question.
>When two rules applies equally there is an exception raised. Is it
>possible to tell it to use the first of those two rules instead. So
>that it always falls back to some function.

Yes, by using a custom method combination.  See:

http://peak.telecommunity.com/DevCenter/CombiningResults

or 'combiners.txt' inside the dispatch package source.




More information about the PEAK mailing list