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 0ADFCBC0A for ; Mon, 19 Feb 2007 23:37:20 +0100 (CET) Received: from furbychan.cocan.org (furbychan.cocan.org [80.68.91.176]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id l1JMbGdC020152 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for ; Mon, 19 Feb 2007 23:37:19 +0100 Received: from rich by furbychan.cocan.org with local (Exim 3.35 #1 (Debian)) id 1HJH7x-0007OJ-00; Mon, 19 Feb 2007 22:36:57 +0000 Date: Mon, 19 Feb 2007 22:36:57 +0000 To: Fernando Alegre Cc: caml-list@inria.fr Subject: Re: [Caml-list] empty type Message-ID: <20070219223657.GA19874@furbychan.cocan.org> References: <20070219134738.GA26859@gaia.cc.gatech.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070219134738.GA26859@gaia.cc.gatech.edu> User-Agent: Mutt/1.5.9i From: Richard Jones X-Miltered: at discorde with ID 45DA269C.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; bug:01 haskell:01 notation:01 wrote:01 caml-list:01 caml-list:01 defined:02 caml:02 unit:03 ced:05 inria:06 fernando:06 red:92 alegre:08 i'm:09 On Mon, Feb 19, 2007 at 08:47:38AM -0500, Fernando Alegre wrote: > > Hi, > > I think this is a bug, but I'm not sure. I mistakenly defined type e using > Haskell notation, and it was accepted. However, it shadowed the unit type. > Can someone confirm whether this should be acceptable or not? It tripped us up before: http://caml.inria.fr/pub/ml-archives/caml-list/2005/06/e1a4be2ebe9ced1cbdc06979a7e8ae17.en.html Rich. -- Richard Jones Red Hat UK Limited