Christian wrote: >"Michael Schuerig" <schuerig / acm.org> wrote: > >> It looks as if you're in need of multimethods such as are available in >> Common Lisp and Dylan. Also, predicate classes and Cecil come to mind >> (though only in a researchy mood). > >Wow, you can't say that sort of thing without some references or >explanation. > >What is a multi-method? What is a predicate class? I sure am interested. I >am passingly familiar with both Lisp and Dylan, and Cecil rings a bell but >it is faint. For a C++ perspective on multimethods, read the section in Meyer's "More Effective C++" about making functions virtual with respect to two classes. Excellent discussion, and if you are well-versed in C++ it will all make a great deal of sense. Kevin