Version française
Home     About     Download     Resources     Contact us    
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: -- (:)
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:

http://www.eleves.ens.fr/home/frisch/soft.html#openin

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