caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* OCAML inheritance question
@ 1999-03-10 21:50 Damir BIJUKLIC
  0 siblings, 0 replies; only message in thread
From: Damir BIJUKLIC @ 1999-03-10 21:50 UTC (permalink / raw)
  To: caml-list

When i have inheritance hierarchy shaped like a diamond:

           a
          / \
         b   c
          \ /
           d

class d inherits two copies of a's instance variables. If I want to have
only
one copy it seems I need to linearize inheritance hieararchy what I'm 
reluctant to do.

So is there any way I could have d with one copy of a's instance variables?

Damir




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1999-03-11 12:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-03-10 21:50 OCAML inheritance question Damir BIJUKLIC

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).