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=0.0 required=5.0 tests=none autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by yquem.inria.fr (Postfix) with ESMTP id 82BDDBBC1 for ; Wed, 30 Apr 2008 15:38:52 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApsAAO0SGEiAArkpjWdsb2JhbACBU5ADAQEBAQkFBgcTmn0 X-IronPort-AV: E=Sophos;i="4.25,728,1199660400"; d="scan'208";a="25701852" Received: from chokecherry.srv.cs.cmu.edu ([128.2.185.41]) by mail4-smtp-sop.national.inria.fr with ESMTP; 30 Apr 2008 15:38:51 +0200 Received: from stratocaster.home (c-71-199-104-241.hsd1.pa.comcast.net [71.199.104.241]) (authenticated bits=0) by chokecherry.srv.cs.cmu.edu (8.13.6/8.13.6) with ESMTP id m3UDcokO027129 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for ; Wed, 30 Apr 2008 09:38:50 -0400 (EDT) Received: from ecc by stratocaster.home with local (Exim 4.69) (envelope-from ) id 1JrCWI-0004ji-0d for caml-list@yquem.inria.fr; Wed, 30 Apr 2008 09:38:50 -0400 Date: Wed, 30 Apr 2008 09:38:50 -0400 From: Eric Cooper To: caml-list@yquem.inria.fr Subject: Re: [Caml-list] Invoking the standard library ? Message-ID: <20080430133849.GG28774@stratocaster.home> Mail-Followup-To: caml-list@yquem.inria.fr References: <1209479205.11285.15.camel@Blefuscu> <20080429181958.GB18818@stratocaster.home> <20080430.090541.77051652.garrigue@math.nagoya-u.ac.jp> <481824E4.1020109@univ-savoie.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <481824E4.1020109@univ-savoie.fr> User-Agent: Mutt/1.5.17+20080114 (2008-01-14) X-Spam: no; 0.00; 0200,:01 christophe:01 raffalli:01 ocaml:01 wrote:01 caml-list:01 modules:02 string:02 string:02 module:03 module:03 library:03 library:03 apr:06 wed:06 On Wed, Apr 30, 2008 at 09:51:00AM +0200, Christophe Raffalli wrote: > A very simple solution (that I use for PML) would be to change ocaml > so that a directory in the path is considered as a module whose > fields are the modules and directory inside it ... This allows two > files to have the same name and depending if you open or not the > module/directory containing an extended string library, you can > access by open String the original or the extended module. I like this approach -- very elegant. -- Eric Cooper e c c @ c m u . e d u