Version française
Home     About     Download     Resources     Contact us    
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 <ll189417@zodiac.mimuw.edu.pl>
>  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                                                  tim@fungible.com
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 caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners