From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=AWL autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from discorde.inria.fr (discorde.inria.fr [192.93.2.38]) by yquem.inria.fr (Postfix) with ESMTP id 6F09ABC69 for ; Thu, 22 Feb 2007 01:25:57 +0100 (CET) Received: from ptb-relay03.plus.net (ptb-relay03.plus.net [212.159.14.214]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id l1M0Pu6Z003518 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for ; Thu, 22 Feb 2007 01:25:57 +0100 Received: from [80.229.56.224] (helo=beast.local) by ptb-relay03.plus.net with esmtp (Exim) id 1HK1mW-0000OH-5a for caml-list@yquem.inria.fr; Thu, 22 Feb 2007 00:25:56 +0000 From: Jon Harrop Organization: Flying Frog Consultancy Ltd. To: caml-list@yquem.inria.fr Subject: Re: [Caml-list] warning on value shadowing Date: Thu, 22 Feb 2007 00:19:15 +0000 User-Agent: KMail/1.9.5 References: <20070221223151.97901BC76@yquem.inria.fr> <00f301c7560b$84b8c8c0$6a7ba8c0@treble> In-Reply-To: <00f301c7560b$84b8c8c0$6a7ba8c0@treble> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200702220019.16016.jon@ffconsultancy.com> X-Miltered: at discorde with ID 45DCE314.001 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; pervasives:01 foo:01 printf:01 fprintf:01 ocaml:01 ocaml:01 frog:98 wrote:01 imho:01 clearer:01 caml-list:01 renaming:02 module:03 module:03 products:86 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