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 OAA28515; Tue, 17 Sep 2002 14:32: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 OAA28579 for ; Tue, 17 Sep 2002 14:32:30 +0200 (MET DST) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id g8HCWT102744; Tue, 17 Sep 2002 14:32:29 +0200 (MET DST) Received: (from xleroy@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id OAA28172; Tue, 17 Sep 2002 14:32:28 +0200 (MET DST) Date: Tue, 17 Sep 2002 14:32:28 +0200 From: Xavier Leroy To: Henri DF Cc: caml-list@inria.fr Subject: Re: [Caml-list] mutually referencing compilation units Message-ID: <20020917143228.A28138@pauillac.inria.fr> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: ; from henridf@lcavsun1.epfl.ch on Sun, Sep 15, 2002 at 10:15:10PM +0200 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk > Is the fact that two mutually referencing units can't be compiled > supposed to be a Good Thing? No, it is acknowledged as an unfortunate limitation and an annoyance to the programmer. However, there are deep semantical and type-theoretical reasons that make it hard to allow cross-module recursion in ML. This is actually a research area that is still largely open. > It seems to be a consequence of the fact that > order of .cmo's is relevant Actually, it's the other way around: the order of .cmo's is relevant because the ML module system supports only sequential / nonrecursive definitions of modules, but not parallel / recursive module definitions. - Xavier Leroy ------------------- 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