Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
immutable Strings?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2005-03-14 (13:01)
From: Richard Jones <rich@a...>
Subject: Re: [Caml-list] immutable Strings?
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.


Richard Jones, CTO Merjis Ltd.
Merjis - web marketing and technology -
Team Notepad - intranets and extranets for business -