From: Damir BIJUKLIC <damirb@zesoi.fer.hr>
To: caml-list@inria.fr
Subject: OCAML inheritance question
Date: Wed, 10 Mar 1999 22:50:45 +0100 (MET) [thread overview]
Message-ID: <199903102150.WAA27920@diana.zesoi.fer.hr> (raw)
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
reply other threads:[~1999-03-11 12:34 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=199903102150.WAA27920@diana.zesoi.fer.hr \
--to=damirb@zesoi.fer.hr \
--cc=caml-list@inria.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox