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 TAA30507; Tue, 22 Oct 2002 19:22:04 +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 TAA30476 for ; Tue, 22 Oct 2002 19:22:03 +0200 (MET DST) Received: from grace.speakeasy.org (grace.speakeasy.org [216.254.0.2]) by nez-perce.inria.fr (8.11.1/8.11.1) with SMTP id g9MHLKD13588 for ; Tue, 22 Oct 2002 19:21:23 +0200 (MET DST) Received: (qmail 20316 invoked by uid 36130); 22 Oct 2002 17:21:07 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 22 Oct 2002 17:21:07 -0000 Date: Tue, 22 Oct 2002 10:21:07 -0700 (PDT) From: brogoff@speakeasy.net To: "caml-list@inria.fr" Subject: Re: [Caml-list] Error during partial linking In-Reply-To: <20021022190056.A28301@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 Tue, 22 Oct 2002, Xavier Leroy wrote: > Coming back to your initial desire to "pack" Baire (if I may say so), > I would very strong advise Diego to name his "List" module something > else, to avoid conflict with the standard library module of the same > name. The hypothesis that compilation units are identified by unique > names is really essential to the way the OCaml compilers work. I know > it's sometimes an annoyance (all cool names are already taken by the > standard lib :-), but you're really going to run into trouble with > name conflicts. This is one of those things that's always troubled me (perhaps there's another petty complaint coming up) about OCaml. In a language with a hierarchical module system, it seems that we should be able to avoid such problems by having the standard library packages nested under a "Std" module, or something like that, so that List, Array, etc., become Std.List, Std.Array, etc, as we do now for the labeled modules. I suppose it's too late now for such a change, but I'm pretty sympathetic to people who grouse over the fact that lots of good names are taken. -- Brian ------------------- 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