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 SAA31564; Thu, 7 Oct 2004 18:50:56 +0200 (MET DST) 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 SAA06603 for ; Thu, 7 Oct 2004 18:50:52 +0200 (MET DST) Received: from main.gmane.org (main.gmane.org [80.91.229.2]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id i97GoqFK013860 for ; Thu, 7 Oct 2004 18:50:52 +0200 Received: from root by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1CFbTf-00033c-00 for ; Thu, 07 Oct 2004 18:50:51 +0200 Received: from asado.iro.umontreal.ca ([132.204.24.84]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 07 Oct 2004 18:50:51 +0200 Received: from monnier by asado.iro.umontreal.ca with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 07 Oct 2004 18:50:51 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: caml-list@inria.fr From: Stefan Monnier Subject: [Caml-list] Re: Do you like files as modules? Date: Thu, 07 Oct 2004 12:14:07 -0400 Message-ID: References: <1097118765.20680.565.camel@pelican.wigram> <20041007053801.GA16450@swordfish> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: asado.iro.umontreal.ca User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:SpwZ9jzGRv277Zt0IsF1abS/5Ws= X-Miltered: at nez-perce with ID 416573EC.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Loop: caml-list@inria.fr X-Spam: no; 0.00; monnier:01 monnier:01 'foo:01 kludges:01 'foo:01 foo:01 foo:01 modules:02 module:03 module:03 explicitly:03 interface:03 define:05 something:09 stefan:10 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk > implementation files. Currently, if you have an interface 'foo.mli', > with several possible implementations, you have to resort to kludges > like creating subdirectories a/, b/, and c/, each with a different > version of 'foo.ml', one of which gets copied into the main directory at I thought the way to deal with that was to explicitly define a module A of signature Foo in the file foo_a.ml, module B : Foo in file foo_b.ml, ... Or something like that. Stefan ------------------- 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