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
Local "open", or open locally
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2005-08-01 (08:32)
From: Richard Jones <rich@a...>
Subject: Re: [Caml-list] Local "open", or open locally
On Mon, Aug 01, 2005 at 03:47:43AM +0200, Lukasz Stafiniak wrote:
> let z = open SomeModule and SomeOtherModule in x + y + x*y

Yes, I too would really like this syntax in the core language, as well
as local type and exception definitions.

There is a camlp4 extension for local open, called openin:


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