On Mon, 9 Jun 2003, Adam Turoff wrote:
>   - roll-your-own inheritance mechanisms (see NEXT.pm)

On a related note, you might also want to take a look at CLOS (the Common
Lisp Object System) where it talks about method selection.  They've got a
pretty clear and general model that describes every imaginable (and
unimaginable) thing you'd want to do with dispatch.  It's broken into 3
steps, any one of which you can customize:

- find all applicable methods
- sort them in order of specificity
- apply some kind of combining operation to this list (e.g. select 1st)

Granted, this is hardly efficient, and from what I've seen you need to
be careful in how you use MMD to get decent performance in Lisp.  But it's
still helpful in laying out the design space.

/s

Reply via email to