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.4 required=5.0 tests=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 7C7FFBC6E for ; Sun, 12 Aug 2007 10:31:41 +0200 (CEST) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.181]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id l7C8VdkW013416 for ; Sun, 12 Aug 2007 10:31:41 +0200 Received: by wa-out-1112.google.com with SMTP id k17so1563914waf for ; Sun, 12 Aug 2007 01:31:39 -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=lUH8S6AEw2c0gVfYbjlPRgu41CjvLQ+8wOnxV4Tk1lhBx6tQLx/PCLsZrYQQD9fNvOI/6TBKIu3qSvEO2spYksUeAAeVjP2FM9Jcuw17sglnhB2WR6vNh3mQyXZlBhmfbfQWzyqRX2i67PF7JnhvAlIFTgC9zrEs5v1vr+PW4iE= 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=ZaKu9b4qDealobYFdKzpMYf7nbI1B8FsoSlmkjRbf3IfJjaNlhaJ5QwcFXPOBZKxPmme0ngfxyg3kUBA6PHvz6gOApxwrT6OKxXOyidQ/G6hCmMrMcILlWrCmyulQQrvd9Px9xOMRJMox2uQjZ81KBMVQWpsI7gWBBq5pSAzQ1o= Received: by 10.143.33.19 with SMTP id l19mr202523wfj.1186907117410; Sun, 12 Aug 2007 01:25:17 -0700 (PDT) Received: by 10.143.168.5 with HTTP; Sun, 12 Aug 2007 01:25:17 -0700 (PDT) Message-ID: <9d3ec8300708120125t1af4df64ga60e2ef09d6a35d4@mail.gmail.com> Date: Sun, 12 Aug 2007 10:25:17 +0200 From: "Till Varoquaux" To: "Jeff Meister" Subject: Re: [Caml-list] Re: Order of evaluation when constructing record values Cc: caml-list@yquem.inria.fr In-Reply-To: <6806cf750708111115w3c3170abj3a4096ed95376222@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <6806cf750708111056v19107705p288e0b0bb152ef63@mail.gmail.com> <6806cf750708111115w3c3170abj3a4096ed95376222@mail.gmail.com> X-j-chkmail-Score: MSGID : 46BEC56B.001 on discorde : j-chkmail score : X : 0/20 1 0.000 -> 1 X-Miltered: at discorde with ID 46BEC56B.001 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; bindings:01 afaik:01 compiler:01 caml-list:01 explicitly:02 therefor:03 let:03 constructing:04 evaluation:09 evaluation:09 assigned:12 though:13 between:13 force:16 record:17 Even though you found the order record were assigned, I would advice to explicitly force this order (i.e. let bindings). AFAIK the order of evaluation for records is not specified by the specification, therefor it could change between revisions of the compiler. Till -- http://till-varoquaux.blogspot.com/