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 MAA14829; Wed, 20 Mar 2002 12:25:00 +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 MAA14675 for ; Wed, 20 Mar 2002 12:24:59 +0100 (MET) Received: from nef.ens.fr (nef.ens.fr [129.199.96.32]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id g2KBOw900966; Wed, 20 Mar 2002 12:24:58 +0100 (MET) Received: from clipper.ens.fr (clipper-gw.ens.fr [129.199.1.22]) by nef.ens.fr (8.10.1/1.01.28121999) with ESMTP id g2KBOwp59170 ; Wed, 20 Mar 2002 12:24:58 +0100 (CET) Received: from localhost (frisch@localhost) by clipper.ens.fr (8.9.2/jb-1.1) id MAA21700 ; Wed, 20 Mar 2002 12:24:58 +0100 (MET) Date: Wed, 20 Mar 2002 12:24:58 +0100 (MET) From: Alain Frisch To: Francois Pottier cc: Caml list Subject: Re: [Caml-list] Functorizing large collections of modules In-Reply-To: <20020320100924.A11574@pauillac.inria.fr> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Wed, 20 Mar 2002, Francois Pottier wrote: > > Another example of this weakness is the lack of support for namespaces. > > It is true that O'Caml has little support for resolving name conflicts > in a modular way, because the semantics of the module language is too > intimately tied with the underlying file system. I suppose a CM-like tool > would help, but I think this issue is separate from the one above. It seems that the new -pack feature of ocamlc/ocamlopt (see CVS) addresses the issue. What kind of extra support for namespace would be needed ? Concerning the global parametrization, maybe a variation around -pack could solve the problem. ocamlc -pack would take a list of modules A1,...An (.cmo+.cmi) and a list of interfaces S1,...,Sm (.cmi) and produce a functor parametrized by interfaces S1,...Sm and returning a bundled version of A1,...,An -- Alain ------------------- 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