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 Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id 6F211BC69 for ; Mon, 30 Apr 2007 17:22:10 +0200 (CEST) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.233]) by concorde.inria.fr (8.13.6/8.13.6) with ESMTP id l3UFM8uW002648 for ; Mon, 30 Apr 2007 17:22:09 +0200 Received: by wr-out-0506.google.com with SMTP id l58so1544471wrl for ; Mon, 30 Apr 2007 08:22:08 -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=WuTNI1f4+d2u2iCsP5ksEZ66xgfhVt+8DbIUdyaW/6PolPgqS7J3zZqGNL99UQgvbn/u5XhGI9gvM44bZyaCIucbshf1JEqnMLyclHR748MCAdKFeMxUVt5UoR3HjefplSO4Ksg3W5iGhhuieTPj9cAF56xnWEUXO81yK/ry3WM= 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=jCrrIVQUnVjBrVfRGPEvnz+yWmQWu9XNaRau2XkOr4sYkFb5sScNMh+Cth/ah1bjFQKzBnYm3VFNfmuT78FZBunPHamG+mZcA51c1we4YNXK8yYMQk0OpInQnw2kBInYfCBvEJjR6GakPXxbB/LGypNXPoB3Ya+tXq25GivtYoM= Received: by 10.114.103.1 with SMTP id a1mr2046215wac.1177946527949; Mon, 30 Apr 2007 08:22:07 -0700 (PDT) Received: by 10.114.181.18 with HTTP; Mon, 30 Apr 2007 08:22:07 -0700 (PDT) Message-ID: Date: Mon, 30 Apr 2007 17:22:07 +0200 From: "Nicolas Pouillard" To: "Joel Reymont" Subject: Re: [Caml-list] camlp4 3.10: <:expr < $opt:... >> Cc: "Caml List" In-Reply-To: <13804976-F868-4632-80F0-FDA22F4DDBAD@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <13804976-F868-4632-80F0-FDA22F4DDBAD@gmail.com> X-j-chkmail-Score: MSGID : 463609A1.000 on concorde : j-chkmail score : X : 0/20 1 0.000 -> 1 X-Miltered: at concorde with ID 463609A1.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; camlp:01 expr:01 expr:01 iter:01 syntax:01 rec':01 wrote:01 rec:01 rec:01 caml-list:01 patt:01 compiling:02 match:02 match:02 parse:02 On 4/30/07, Joel Reymont wrote: > While compiling > > <:expr< > let $list:field_refs$ in > let $opt:true$ $list:[match_patt_expr]$ in > do { iter field_sexps; $match_result$ } > > I get > > -- > While expanding quotation "expr" in a position of "expr": > Parse error: "module" or [opt_rec] expected after "let" (in [expr]) > -- > > Which falls smack on "let $opt:true$". > > It looks like the syntax for "'a * option" has changed. How do I fix > this? > Replace `$opt:true$' by `$rec:true$' or even simply by `rec' since the antiquotation is constant. -- Nicolas Pouillard