Protocol library as alternative to refinements (Russell Leggett)

Benjamin (Inglor) Gruenbaum inglor at
Tue Oct 22 11:34:24 PDT 2013

On Tue, Oct 22, 2013 at 8:10 PM, Russell Leggett <russell.leggett at>

> > Revised algorithm:
> 1. If receiver has protocol method symbol as a property, use that as
> 2. Try to use protocol methods - start by checking receiver type mapping,
then check up type hierarchy for any matches, and finally if no matches,
use the default if defined.
> 3. Finally, if no matches and no default, check prototype for method of
same name.
> Does that sound better?

Much :)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the es-discuss mailing list