From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id KAA09681; Fri, 11 Jan 2002 10:49:53 +0100 (MET) Received: (from weis@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id KAA32212 for caml-list@pauillac.inria.fr; Fri, 11 Jan 2002 10:49:53 +0100 (MET) Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id XAA31437 for ; Thu, 10 Jan 2002 23:47:18 +0100 (MET) Received: from obento.cs.caltech.edu (obento.cs.caltech.edu [131.215.44.101]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id g0AMl9L10094 for ; Thu, 10 Jan 2002 23:47:13 +0100 (MET) Received: from orchestra.cs.caltech.edu (orchestra.cs.caltech.edu [131.215.44.20]) by obento.cs.caltech.edu (Postfix) with ESMTP id C5C124054 for ; Thu, 10 Jan 2002 14:47:06 -0800 (PST) Received: (from mvanier@localhost) by orchestra.cs.caltech.edu (8.11.2/8.9.3) id g0ANh6706101; Thu, 10 Jan 2002 15:43:06 -0800 Date: Thu, 10 Jan 2002 15:43:06 -0800 Message-Id: <200201102343.g0ANh6706101@orchestra.cs.caltech.edu> X-Authentication-Warning: orchestra.cs.caltech.edu: mvanier set sender to mvanier@cs.caltech.edu using -f From: Michael Vanier To: caml-list@inria.fr Subject: [Caml-list] class variables? Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk 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