English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

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 - http://merjis.com
Team Notepad - intranets and extranets for business - http://team-notepad.com