From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Delivered-To: caml-list@yquem.inria.fr Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by yquem.inria.fr (Postfix) with ESMTP id 2A685BC48 for ; Mon, 14 Mar 2005 14:01:52 +0100 (CET) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id j2ED1pg3030610 for ; Mon, 14 Mar 2005 14:01:51 +0100 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 OAA01160 for ; Mon, 14 Mar 2005 14:01:51 +0100 (MET) Received: from furbychan.cocan.org (furbychan.cocan.org [80.68.91.176]) by concorde.inria.fr (8.13.0/8.13.0) with ESMTP id j2ED1oY3025254 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for ; Mon, 14 Mar 2005 14:01:51 +0100 Received: from rich by furbychan.cocan.org with local (Exim 3.35 #1 (Debian)) id 1DApCe-00050j-00 for ; Mon, 14 Mar 2005 13:01:48 +0000 Date: Mon, 14 Mar 2005 13:01:48 +0000 To: caml-list@inria.fr Subject: Re: [Caml-list] immutable Strings? Message-ID: <20050314130148.GA19240@furbychan.cocan.org> References: <20050312205011.GA2244@first.in-berlin.de> <423567E1.1030909@sophia.inria.fr> <20050314125728.GA17687@furbychan.cocan.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050314125728.GA17687@furbychan.cocan.org> User-Agent: Mutt/1.3.28i From: Richard Jones X-Miltered: at nez-perce with ID 42358B3F.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Miltered: at concorde with ID 42358B3E.002 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; caml-list:01 naming:01 'open:01 syntax:01 submodule:01 notepad:01 ...:98 ...:98 wrote:01 strings:01 immutable:01 string:03 string:03 module:03 module:03 X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on yquem.inria.fr X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.0.2 X-Spam-Level: On Mon, Mar 14, 2005 at 12:57:28PM +0000, rich wrote: > You can get the s.[i] shortcut by naming your module > 'ImmString.String' (using a nested module in other words) and using > 'open ImmString'. [...] (Replying to my own email ...) This reminds me of another problem I was going to ask about. Would it be possible to have a syntax allowing you to always get to the "top" of the module namespace. It could be something like ".String.copy" which would always refer to the real String module, not to any submodule of an opened module. Rich. -- Richard Jones, CTO Merjis Ltd. Merjis - web marketing and technology - http://merjis.com Team Notepad - intranets and extranets for business - http://team-notepad.com