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=1.1 required=5.0 tests=AWL,SPF_NEUTRAL 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 9A137BC69 for ; Fri, 9 Mar 2007 16:13:10 +0100 (CET) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.230]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id l29FD9qf021426 for ; Fri, 9 Mar 2007 16:13:10 +0100 Received: by wr-out-0506.google.com with SMTP id i3so1389166wra for ; Fri, 09 Mar 2007 07:13:08 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=JCgyHKW2VeSuBid0JXEsyk9DHvwC7TB/JYhuX+15jvLwFG19olJ1mVnLvr38hr2LMPqYd6UH94S5SlAq5keCWicN4uVkwSmUhg7E2aYIT0gr6lkMr+D0DTB42jAk8a78Tk1OgWaUnMz6kvb5FyP3mc+W+K0FN+DdU6U21D0p3C0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=Y6gZY33akBSohGApX4VrxPaoJAYQTsnUjcds2LpU3abiynw19TSXwgnNx0X28xQ1KxfQmBQXFWyInXYDWG0nyDmcGAmG4xazYrcRqQCFAkSb7eV6IKQJEseruXxslAI33hV3e8EogeTqw8Nf4ktAwQ7HIVY73fS6kQ+s3Pjk8k8= Received: by 10.64.181.12 with SMTP id d12mr2979078qbf.1173453188144; Fri, 09 Mar 2007 07:13:08 -0800 (PST) Received: by 10.65.98.10 with HTTP; Fri, 9 Mar 2007 07:13:08 -0800 (PST) Message-ID: <9d3ec8300703090713l5a49ebbbt974acff4bee738a6@mail.gmail.com> Date: Fri, 9 Mar 2007 16:13:08 +0100 From: "Till Varoquaux" To: "ocaml ml" Subject: Constraint missbehaviours?? MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-j-chkmail-Score: MSGID : 45F17985.000 on discorde : j-chkmail score : X : 0/20 1 0.000 -> 1 X-Miltered: at discorde with ID 45F17985.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; bug:01 constraint:01 constraint:01 mul:02 mul:02 exp:02 exp:02 seems:03 seems:03 correctly:05 missing:07 handled:09 doesn't:12 but:14 type:14 There seems to be a bug in the way constraint are handled: type 'a exp=[ | `Add of 'e * 'e | `Mul of 'e * 'e ] constraint 'a = type 'a exp2=[ | 'a exp | `Sub of 'e * 'e | `Mul of 'e * 'e ] constraint 'a = ;; doesn't type correctly but seems perfectly legal to me... Am I missing anything here? Till