From: Michael Vanier <mvanier@cs.caltech.edu>
To: caml-list@inria.fr
Subject: [Caml-list] class variables?
Date: Thu, 10 Jan 2002 15:43:06 -0800 [thread overview]
Message-ID: <200201102343.g0ANh6706101@orchestra.cs.caltech.edu> (raw)
Hi,
I'm considering using ocaml for a project I'm planning. I plan to use the
object-oriented features of ocaml extensively. I was wondering: is there
any way to get immutable class fields that are shared by all members of the
class? I was thinking of a list of strings, and I don't want to have to
have the list duplicated for every instance of the class.
Mike
-------------------
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
next reply other threads:[~2002-01-11 9:49 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-01-10 23:43 Michael Vanier [this message]
2002-01-11 11:40 ` Warp
2002-01-11 18:09 ` Maxence Guesdon
2002-01-11 12:19 ` Alain Frisch
2002-01-11 12:25 ` Andreas Rossberg
2002-01-11 20:39 ` Michael Vanier
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=200201102343.g0ANh6706101@orchestra.cs.caltech.edu \
--to=mvanier@cs.caltech.edu \
--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