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
[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 <> 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
( which have a similar interface than
regular Hashtbl.

I've not tested it with regard of marshal.
Rémi Vanicat

To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: