On 12/24/08, Peter Bex <[email protected]> wrote: > On Wed, Dec 24, 2008 at 11:53:15AM +0100, Tobia Conforto wrote: > > Mind you, this is the simplest implementation possible, without > > inheritance, polymorphism or anything useful. But if you find (or > > write) a full-fledged object system that works like this (probably > > based on table lookup instead of static pattern matching) then you > > will have no trouble adding a handler for unknown methods that fetches > > the definitions on the fly. > > One such object system is Prometheus, for which there's a Chicken egg. > It has a message-not-understood message, which is sent to the object > when the object nor any of its prototypes know of the message.
Thanks for the suggestion, but I'm not feeling too keen on switching object systems just for this. I think I like the generic function concept (put the verb first, just as you always do in an expression to be evaluated). _______________________________________________ Chicken-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/chicken-users
