Version française
Home     About     Download     Resources     Contact us    
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: -- (:)
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