Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] Bug or feature?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Remi Vanicat <vanicat@l...>
Subject: Re: [Caml-list] Bug or feature?
Alessandro Baretta <alex@baretta.com> writes:

[...]


> One more remark concerning the Weak.Make functor. Why in the world are
> Hashtbl.Make and Weak.Make incompatible? It is only natural to think
> of the second as a particularly clever implementation of the
> first. Besides, the two modules are so similar that really deserve to
> have the same signatures. I strongly encourage the Caml Masters to
> think this over. Of course, I could reimplement the Weak.Make functor
> in a Weak2 module for the ocamllib-addons package, but is it worth
> it?

You might be interested by my hweak library
(http://aspellfr.free.fr/hweak/) which have a similar interface than
regular Hashtbl.

I've not tested it with regard of marshal.
-- 
Rémi Vanicat
vanicat@labri.u-bordeaux.fr
http://dept-info.labri.u-bordeaux.fr/~vanicat

-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners