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=none 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 99CB2BC69 for ; Fri, 23 Feb 2007 16:12:28 +0100 (CET) Received: from zivlnx25.uni-muenster.de (ZIVLNX25.UNI-MUENSTER.DE [128.176.188.214]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id l1NFCSiE021014 for ; Fri, 23 Feb 2007 16:12:28 +0100 Received: from localhost (localhost.localdomain [127.0.0.1]) by zivlnx25.uni-muenster.de (Postfix) with ESMTP id 84580B57FE; Fri, 23 Feb 2007 16:12:21 +0100 (CET) Received: from zivlnx25.uni-muenster.de ([127.0.0.1]) by localhost (zivlnx25.uni-muenster.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 31902-07; Fri, 23 Feb 2007 16:12:16 +0100 (CET) Received: from [128.176.150.210] (VPNPOOL01-0200.UNI-MUENSTER.DE [128.176.150.210]) by zivlnx25.uni-muenster.de (Postfix) with ESMTP id 120DBB57D7; Fri, 23 Feb 2007 16:12:14 +0100 (CET) In-Reply-To: <45DCED65.7070107@davidb.org> References: <45DCAE89.1050904@gnu.org> <20070222.095436.125900161.garrigue@math.nagoya-u.ac.jp> <45DCED65.7070107@davidb.org> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Cc: Jacques Garrigue , sds@gnu.org, caml-list@inria.fr Content-Transfer-Encoding: 7bit From: Wolfgang Lux Subject: Re: [Caml-list] warning on value shadowing Date: Fri, 23 Feb 2007 16:12:17 +0100 To: David Brown X-Mailer: Apple Mail (2.752.2) X-Virus-Scanned: amavisd-new at uni-muenster.de X-Miltered: at discorde with ID 45DF045C.007 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; wlux:01 uni-muenster:01 haskell:01 haskell:01 wrote:01 caml-list:01 explicitly:01 off-topic:02 wolfgang:02 wolfgang:02 top-level:02 module:03 module:03 exported:06 lux:07 David Brown wrote: > The other odd difference is that in Haskell, importing puts the names > into the current module. If the current module is exporting > everything, then these names will be exported from it as well. I know this is getting off-topic, but the above statement is not correct. Haskell by default exports only the top-level definitions of a module. You have to mention any imported entities that you want to export from a module explicitly in its export list. Regards Wolfgang