Browse thread
[Caml-list] class variables?
- Michael Vanier
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Michael Vanier <mvanier@c...> |
| Subject: | [Caml-list] class variables? |
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