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
Re: [Caml-list] warning on value shadowing
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2007-02-21 (23:23)
From: skaller <skaller@u...>
Subject: Re: [Caml-list] warning on value shadowing
On Wed, 2007-02-21 at 22:56 +0000, David Allsopp wrote:

> IMHO Pervasives is the only module that should be opened --- renaming a
> module with "module Foo = SomeVeryLongModuleNameYouDontWantToTypeLots" is
> better (makes clearer code) than "open ... ". But that's just another
> opinion...

I open every module I use as a matter of principle.
This makes the body code independent of modular refactoring.

John Skaller <skaller at users dot sf dot net>
Felix, successor to C++: