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
The "Objective" part of Objective Caml
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ 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 :-)