English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

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: 2003-03-06 (23:42)
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

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