From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id AAA21879; Fri, 7 Mar 2003 00:42:44 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id AAA21666 for ; Fri, 7 Mar 2003 00:42:43 +0100 (MET) Received: from mel-rto4.wanadoo.fr (smtp-out-4.wanadoo.fr [193.252.19.23]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id h26Ngg918983 for ; Fri, 7 Mar 2003 00:42:42 +0100 (MET) Received: from mel-rta10.wanadoo.fr (193.252.19.193) by mel-rto4.wanadoo.fr (6.7.015) id 3E0C33FD02C1F96A for caml-list@inria.fr; Fri, 7 Mar 2003 00:42:42 +0100 Received: from debian (80.8.82.231) by mel-rta10.wanadoo.fr (6.7.015) id 3E26DAA601BCB6A7 for caml-list@inria.fr; Fri, 7 Mar 2003 00:42:42 +0100 Received: from moi by debian with local (Exim 3.36 #1 (Debian)) id 18r51S-0000wB-00 for ; Fri, 07 Mar 2003 00:43:34 +0100 To: caml-list@inria.fr Subject: Re: [Caml-list] Bug or feature? Mail-Copy-To: never From: Remi Vanicat Date: Fri, 07 Mar 2003 00:43:34 +0100 In-Reply-To: <3E67D745.70807@baretta.com> (Alessandro Baretta's message of "Fri, 07 Mar 2003 00:18:29 +0100") Message-ID: <877kbcdpsp.dlv@wanadoo.fr> User-Agent: Gnus/5.090015 (Oort Gnus v0.15) Emacs/21.2 References: <3E67D745.70807@baretta.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 8bit X-Spam: no; 0.00; caml-list:01 bug:01 alessandro:01 baretta:01 functor:01 hashtbl:01 incompatible:01 hweak:01 aspellfr:01 caml:01 alex:01 dept-info:01 labri:01 u-bordeaux:01 writes:01 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk 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 (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