Protocol library as alternative to refinements (Russell Leggett)
Benjamin (Inglor) Gruenbaum
inglor at gmail.com
Tue Oct 22 11:34:24 PDT 2013
On Tue, Oct 22, 2013 at 8:10 PM, Russell Leggett <russell.leggett at gmail.com>
> > 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
> Does that sound better?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the es-discuss