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
[Caml-list] Feature request.
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: tim@f...
Subject: Re: [Caml-list] Feature request.
From: Lukasz Lew <>
>  I found that it would be usefull if some of the language constructions 
>  could be made localy. For example "open ... in" or "type ... in".
>  Why "open in" isn't in standard parser?

I don't know.

>  Why some constructions are restricted to global (module) use?

You can do "let module ... in", so "global" is not equivalent to
"module".  I don't like open statements anyway because they require me
to read many of the opened modules to discover which module provides
the symbol.  I prefer to establish one-letter module names if I feel
the need for brevity, so "let module" is all I need.

Tim Freeman                                        
Which is worse: ignorance or apathy? Who knows? Who cares?
GPG public key fingerprint ECDF 46F8 3B80 BB9E 575D  7180 76DF FE00 34B1 5C78 

To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: