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 8BEA8BC69 for ; Tue, 26 Jun 2007 10:05:32 +0200 (CEST) Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.238]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id l5Q85V6P007689 for ; Tue, 26 Jun 2007 10:05:32 +0200 Received: by nz-out-0506.google.com with SMTP id s1so1376614nze for ; Tue, 26 Jun 2007 01:05:31 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=DCrPIm9oMzzlRyn/+lEWAStYuLaIvHK9Qoz5jvWP3rjM8cZrhgxWm+88S1GZqGIM0nT9/gk2C1HqOPx/cdFKwNF66bJa6EXzGnj6OdcmWREHi0SOg/aNIqabzeSKV9lFuoahXnxQFSsQvJ90H0X4xwjs9Mi/59otFlhf+ZvVtW0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=AbVLLZIzubuQd7Z7W2LR4MgdRedzZMUn1n78fqnStQNu4W8glWFCEiKvuvNo58hAg1iI3/1dpaOfeBz2fcEfJ3ejEZrBNjWWZoEwTfg9G9p7icCqbfQdqthQbFxJ97qk1KVkelqFPC9aRNeb7197fyxevo6roqAkbSC5Am8+S/k= Received: by 10.115.46.9 with SMTP id y9mr6206063waj.1182845130730; Tue, 26 Jun 2007 01:05:30 -0700 (PDT) Received: by 10.114.181.8 with HTTP; Tue, 26 Jun 2007 01:05:30 -0700 (PDT) Message-ID: Date: Tue, 26 Jun 2007 10:05:30 +0200 From: "Nicolas Pouillard" To: "David Allsopp" Subject: Re: [Caml-list] Re: Execution time of class versus record Cc: caml-list@yquem.inria.fr In-Reply-To: <002701c7b7c4$b3083100$6a7ba8c0@treble> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20070626065522.6175FBC77@yquem.inria.fr> <002701c7b7c4$b3083100$6a7ba8c0@treble> X-j-chkmail-Score: MSGID : 4680C8CB.002 on discorde : j-chkmail score : X : 0/20 1 0.000 -> 1 X-Miltered: at discorde with ID 4680C8CB.002 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; syntax:01 o'caml:01 26,:98 2007,:98 wrote:01 wrote:01 clearer:01 caml-list:01 int:01 int:01 revised:02 nicolas:08 nicolas:08 jun:09 execution:10 On 6/26/07, David Allsopp wrote: > On Jun 26, 2007, at 08:53 AM, Loup Vaillant wrote: > > > For the same reason, there is a difference between: > > > > > > type t = A of int * int > > > > > > and: > > > > > > type t = A of (int * int) > > [...] > I believe the "revised" syntax for O'Caml > changes the way these are declared to make it clearer but I've never looked > at it... > Exactly: type t = [ A of int and int ]; and type t = [ A of (int * int) ]; -- Nicolas Pouillard