In PEC I can do multiple inheritance via multiple inheritance of
interfaces and via get and set methods multiple inheritence of feilds.
So I think you can do the same. Hope that helps.

On Sep 13, 7:16 pm, "John Cowan" <[EMAIL PROTECTED]> wrote:
> On Sat, Sep 13, 2008 at 12:55 AM, hlovatt <[EMAIL PROTECTED]> wrote:
> > Note the dispatcher is written at runtime in response to loading
> > multi-methods, this is far more flexible than requiring a fixed set of
> > methods to be known at compile time.
>
> > I chose symmetrical multiple dispatch,
>
> These are very sensible choices when you are extending Java as opposed
> to implementing a pre-existing language, as I am.
>
> I really should have spoken of multiple-inheritance methods rather
> than multimethods: thanks to the asymmetry, the difference between a
> single argument and many arguments is trivial to do.  It's getting the
> multiple inheritance working correctly that's the hard bit.
>
> --
> GMail doesn't have rotating .sigs, but you can see mine 
> athttp://www.ccil.org/~cowan/signatures
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "JVM 
Languages" group.
To post to this group, send email to jvm-languages@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/jvm-languages?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to