From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Delivered-To: caml-list@yquem.inria.fr Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id C0BADBCAF for ; Sat, 11 Jun 2005 00:14:03 +0200 (CEST) Received: from pih-relay04.plus.net (pih-relay04.plus.net [212.159.14.131]) by concorde.inria.fr (8.13.0/8.13.0) with ESMTP id j5AME1nR014881 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for ; Sat, 11 Jun 2005 00:14:03 +0200 Received: from [80.229.56.224] (helo=chetara) by pih-relay04.plus.net with esmtp (Exim) id 1DgrlG-0003IZ-Le for caml-list@yquem.inria.fr; Fri, 10 Jun 2005 23:13:58 +0100 From: Jon Harrop Organization: Flying Frog Consultancy Ltd. To: caml-list@yquem.inria.fr Subject: Re: [Caml-list] type t = () Date: Fri, 10 Jun 2005 23:12:56 +0100 User-Agent: KMail/1.7.2 References: <20050609212234.GA32710@furbychan.cocan.org> <20050610075557.GA8145@furbychan.cocan.org> <42A98F76.5020709@bik-gmbh.de> In-Reply-To: <42A98F76.5020709@bik-gmbh.de> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200506102312.56894.jon@ffconsultancy.com> X-Miltered: at concorde with ID 42AA10A9.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; caml-list:01 florian:01 hars:01 bug:01 val:01 ocaml:01 frog:98 wrote:01 int:01 int:01 caml:02 objective:02 let:03 fun:08 2005:89 X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on yquem.inria.fr X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.0.2 X-Spam-Level: On Friday 10 June 2005 14:02, Florian Hars wrote: > But the bug is in the same class as: > > # let (-) = ( * );; > val ( - ) : int -> int -> int = > # 1 + 2 - 3;; > - : int = 9 > > No? Isn't that exactly what you'd expect? (1 + 2) * 3 = 9 -- Dr Jon D Harrop, Flying Frog Consultancy Ltd. Objective CAML for Scientists http://www.ffconsultancy.com/products/ocaml_for_scientists