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 AD9CEBBAF for ; Tue, 18 Nov 2008 20:22:42 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvgCAKmkIklQRFuwgWdsb2JhbACTWAEBFiK+fIJ5 X-IronPort-AV: E=Sophos;i="4.33,626,1220220000"; d="scan'208";a="20098507" Received: from furbychan.cocan.org ([80.68.91.176]) by mail1-smtp-roc.national.inria.fr with ESMTP/TLS/AES256-SHA; 18 Nov 2008 20:22:42 +0100 Received: from rich by furbychan.cocan.org with local (Exim 4.63) (envelope-from ) id 1L2W9p-000624-Jc; Tue, 18 Nov 2008 19:22:41 +0000 Date: Tue, 18 Nov 2008 19:22:41 +0000 To: Jon Harrop Cc: caml-list@yquem.inria.fr Subject: Re: [Caml-list] Wanted: your feedback on the hierarchy of OCaml Batteries Included Message-ID: <20081118192241.GA23062@annexia.org> References: <1227002178.6170.25.camel@Blefuscu> <200811181817.23216.jon@ffconsultancy.com> <20081118185914.GA20702@annexia.org> <200811182017.36574.jon@ffconsultancy.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200811182017.36574.jon@ffconsultancy.com> User-Agent: Mutt/1.5.13 (2006-08-11) From: Richard Jones X-Spam: no; 0.00; ocaml:01 functors:01 ocaml:01 cpan:01 wrote:01 caml-list:01 modules:02 modules:02 hierarchy:03 hierarchy:03 hoc:03 library:03 separator:04 distributed:05 tue:06 On Tue, Nov 18, 2008 at 08:17:36PM +0000, Jon Harrop wrote: > If the library creator did not use functors or classes to make their design > reusable then the only solution for the user is to include all of the > implementations they require: You're talking about something completely different. In Perl they have: Net Net::Amazon Net::BitTorrent Net::FTPServer (and a million others[1]) 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. However, using '_' as a separator scales because distributed, loosely coordinated parties can add new modules ad hoc to such a namespace. Rich. [1] http://www.cpan.org/modules/by-module/Net/ -- Richard Jones Red Hat