From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: * X-Spam-Status: No, score=1.7 required=5.0 tests=AWL,DNS_FROM_SECURITYSAGE, SPF_FAIL autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by yquem.inria.fr (Postfix) with ESMTP id 09409BBAF for ; Tue, 18 Nov 2008 22:50:18 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvgCANHHIklQRFuwgWdsb2JhbACTWAEBFiK/CYJ5 X-IronPort-AV: E=Sophos;i="4.33,627,1220220000"; d="scan'208";a="20103240" Received: from furbychan.cocan.org ([80.68.91.176]) by mail1-smtp-roc.national.inria.fr with ESMTP/TLS/AES256-SHA; 18 Nov 2008 22:50:17 +0100 Received: from rich by furbychan.cocan.org with local (Exim 4.63) (envelope-from ) id 1L2YSd-0006jY-0B; Tue, 18 Nov 2008 21:50:15 +0000 Date: Tue, 18 Nov 2008 21:50:14 +0000 To: Daniel =?iso-8859-1?Q?B=FCnzli?= Cc: OCaml List Subject: Re: [Caml-list] Wanted: your feedback on the hierarchy of OCaml Batteries Included Message-ID: <20081118215014.GA25781@annexia.org> References: <1227002178.6170.25.camel@Blefuscu> <200811181817.23216.jon@ffconsultancy.com> <20081118185914.GA20702@annexia.org> <200811182017.36574.jon@ffconsultancy.com> <20081118192241.GA23062@annexia.org> <8231B9AC-C4D4-4BD4-9978-5D71763A9F17@erratique.ch> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <8231B9AC-C4D4-4BD4-9978-5D71763A9F17@erratique.ch> User-Agent: Mutt/1.5.13 (2006-08-11) From: Richard Jones X-Spam: no; 0.00; ocaml:01 0100,:01 bunzli:01 ocaml:01 -pack:01 wrote:01 caml-list:01 modules:02 modules:02 linking:02 module:03 module:03 hierarchy:03 hierarchy:03 daniel:04 On Tue, Nov 18, 2008 at 08:50:51PM +0100, Daniel Bünzli wrote: > Le 18 nov. 08 à 20:22, Richard Jones a écrit : > >The proposal is to have a hierarchy of OCaml modules, of this sort: > > > > Net > > Net.Amazon > > Net.BitTorrent > > Net.FTPServer > > (and a million more) > > > >which doesn't scale. > > If there is nothing in the Net module (and ignoring the linking issue) > you can actually achieve that by using -pack. Just redo the pack on > the client whenever it installs a new package in the namespace. No ? No because Net isn't necessarily an empty module, nor does it magically pull in all the modules underneath it (which would be impossible because the Net::* space is constantly changing). Rich. -- Richard Jones Red Hat