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 WAA12996; Thu, 12 Aug 2004 22:20:27 +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 WAA10703 for ; Thu, 12 Aug 2004 22:20:26 +0200 (MET DST) Received: from smtp-bedford.mitre.org (smtpproxy1.mitre.org [192.160.51.76]) by nez-perce.inria.fr (8.12.10/8.12.10) with ESMTP id i7CKKOmL017449 for ; Thu, 12 Aug 2004 22:20:25 +0200 Received: from smtp-bedford.mitre.org (localhost.localdomain [127.0.0.1]) by smtp-bedford.mitre.org (8.11.6/8.11.6) with SMTP id i7CKKO403279 for ; Thu, 12 Aug 2004 16:20:24 -0400 Received: from smtp-bedford.mitre.org (localhost.localdomain [127.0.0.1]) by smtp-bedford.mitre.org (Postfix) with ESMTP id E4253BF7E for ; Thu, 12 Aug 2004 16:20:23 -0400 (EDT) Received: from MAILHUB2 (mailhub2.mitre.org [129.83.221.18]) by smtp-bedford.mitre.org (8.11.6/8.11.6) with ESMTP id i7CKKNB03255 for ; Thu, 12 Aug 2004 16:20:23 -0400 Received: from mm125609-pc.mitre.org (129.83.35.110) by mailhub2.mitre.org with SMTP id 4125476; Thu, 12 Aug 2004 16:20:17 -0400 Message-ID: <411BD101.6020706@mitre.org> Date: Thu, 12 Aug 2004 16:20:17 -0400 From: shaddin User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040413 Debian/1.6-5 X-Accept-Language: en MIME-Version: 1.0 To: caml-list@inria.fr Subject: [Caml-list] mutually recursive modules, different files? Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Miltered: at nez-perce with ID 411BD108.001 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Loop: caml-list@inria.fr X-Spam: no; 0.00; recursion:01 compiler:01 syntax:02 modules:02 modules:02 module:03 recursive:03 recursive:03 elegant:04 define:05 define:05 encapsulated:06 mutually:07 mutually:07 mitre:09 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk I am using two sizable mutually recursive modules. The syntax right now forces me to define them in the same file encapsulated in another compile-level module, which is pretty bulky. Is there an elegant way to define the modules in seperate files and have the compiler take care of the mutual recursion somehow? ------------------- 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