Browse thread
The "Objective" part of Objective Caml
[
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: | 2005-11-08 (15:56) |
From: | Michael Wohlwend <micha-1@f...> |
Subject: | Re: Ant: [Caml-list] The "Objective" part of Objective Caml |
I think you can allways use Oo.copy to make a copy of an object. So if your singleton has mutable state you can create a copy with Oo.copy and have two singletons ... It seems modules are the way to go :-) cheers, Michael