Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] class variables?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Michael Vanier <mvanier@c...>
Subject: [Caml-list] class variables?


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.

Bug reports:  FAQ:
To unsubscribe, mail  Archives: