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 XAA19227; Tue, 23 Mar 2004 23:33:34 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id XAA18883 for ; Tue, 23 Mar 2004 23:33:33 +0100 (MET) Received: from calmail-cl.berkeley.edu (mailfarm.Berkeley.EDU [128.32.61.106]) by concorde.inria.fr (8.12.10/8.12.10) with ESMTP id i2NMXVHd005575 for ; Tue, 23 Mar 2004 23:33:32 +0100 Received: from [64.162.212.212] (HELO tallman.kefka.frap.net) by calmail-cl.berkeley.edu (CommuniGate Pro SMTP 4.1.8) with SMTP id 8850155; Tue, 23 Mar 2004 14:33:31 -0800 Received: by tallman.kefka.frap.net (sSMTP sendmail emulation); Tue, 23 Mar 2004 14:33:31 -0800 Date: Tue, 23 Mar 2004 14:33:31 -0800 From: Kenneth Knowles To: Tim Docker Cc: caml-list@inria.fr Subject: Re: [Caml-list] Basic question about modules Message-ID: <20040323223331.GA19324@tallman.kefka.frap.net> References: <7F3CFECC66117548BE71E9D7CD2EFB504349A5@nt_lon_exm01.pc.internal.macquarie.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <7F3CFECC66117548BE71E9D7CD2EFB504349A5@nt_lon_exm01.pc.internal.macquarie.com> User-Agent: Mutt/1.5.6i X-Miltered: at concorde by Joe's j-chkmail ("http://j-chkmail.ensmp.fr")! X-Loop: caml-list@inria.fr X-Spam: no; 0.00; knowles:99 caml-list:01 mli:01 modules:02 module:03 string:03 types:03 seems:05 type:07 similar:09 actually:11 haven't:12 looked:12 shown:86 pretty:14 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk X-Status: X-Keywords: X-UID: 340 > Do I actually have to duplicate the above signature for the StringMap > as shown above in my own mli file (and other similar types). > This seems pretty heavy handed. No, as I said you can do this (I just looked it up, but haven't tested): module StringMap : Map.S with type key = string Kenn ------------------- 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