[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Jon Harrop <jon@f...> |
| Subject: | Re: [Caml-list] warning on value shadowing |
On Wednesday 21 February 2007 22:56, 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 wish Printf was opened by default. I abhore the hideous verbosity of Print.fprintf "Hello world!". My fingers ache just thinking about it... -- Dr Jon D Harrop, Flying Frog Consultancy Ltd. OCaml for Scientists http://www.ffconsultancy.com/products/ocaml_for_scientists