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 VAA16131; Fri, 9 May 2003 21:58:31 +0200 (MET DST) 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 VAA31356 for ; Fri, 9 May 2003 21:58:30 +0200 (MET DST) Received: from opus.davidb.org (66-75-152-1.san.rr.com [66.75.152.1]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id h49JwTH10701 for ; Fri, 9 May 2003 21:58:29 +0200 (MET DST) Received: from davidb by opus.davidb.org with local (Exim 3.31 #1 (Debian)) id 19EE0e-0001aP-00; Fri, 09 May 2003 12:58:24 -0700 Date: Fri, 9 May 2003 12:58:24 -0700 From: David Brown To: Christophe Poucet Cc: CAML Subject: Re: [Caml-list] Modules Message-ID: <20030509195824.GA6069@opus.davidb.org> References: <000a01c31663$8d4fdaa0$e50e76d5@j> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <000a01c31663$8d4fdaa0$e50e76d5@j> User-Agent: Mutt/1.4i X-Spam: no; 0.00; caml-list:01 mli:01 struct:01 implicitly:01 christophe:01 sig:01 0200,:01 modules:02 lowercase:02 module:03 dave:03 wrote:03 U11:94 construct:06 fri:07 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Fri, May 09, 2003 at 09:45:32PM +0200, Christophe Poucet wrote: > They look sort of like this: > (* TigerSymbol.mli file *) > module type TIGERSYMBOL = > sig > ... > end > > (* TigerSymbol.ml file *) > module TigerSymbol : TIGERSYMBOL = > struct > ... > end The construct you specified above is _implicitly_ wrapped around the contents of these files. The files themselves should just contain the parts given by ... Also, the filename for TigerSymbol will need to be 'tigerSymbol.mli' and 'tigerSymbol.ml'. The first letter needs to be made lowercase. Hope that helps. Dave Brown ------------------- 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