Dan Sugalski <[EMAIL PROTECTED]> wrote: > ... --should we have the > base object system participate in multimethod dispatch? That is, if > someone does an:
> add P1, P2, P3 > and P2 is a parrot object, should that add vtable method > automatically redispatch to MMD if the vtable method can't be found > in P2's class hierarchy? Could be useful, sometimes. But why would one write a mathematical class that then uses default addtion? Adding two Dogs isn't too meaniningful either and it gives normally 10 more or so. What about: newclass P10, "Dog" mmd_dispatch P10, "__add" which then points the vtable slot of C<Dog::add> to MMD. leo