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.2 required=5.0 tests=AWL,PORN_URL_SEX,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 D5FD6BC69 for ; Mon, 30 Apr 2007 21:44:24 +0200 (CEST) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.169]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id l3UJiOwJ024372 for ; Mon, 30 Apr 2007 21:44:24 +0200 Received: by ug-out-1314.google.com with SMTP id k3so1092190ugf for ; Mon, 30 Apr 2007 12:44:24 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:in-reply-to:references:mime-version:content-type:message-id:cc:content-transfer-encoding:from:subject:date:to:x-mailer; b=n0orYjbIsJLOcREBm0zcW8i5VtO83BJeuiJ0vwnBmtIp21Jwa1rjQzoAjhbHJjLG51JzjjBR6DjiDqotZojNNfSNGU2ugKX7trYzg4YI9c4HtL41JL9T/sy3XqbXfInX7U802xi1sx4ulj/uK7WKJAWzHDwc4avxH2WvRNEWbJ8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:in-reply-to:references:mime-version:content-type:message-id:cc:content-transfer-encoding:from:subject:date:to:x-mailer; b=fDEtL7xwkwGhd34X4xesFGQYxqCiraK6fOhESda0GPAZ5lsveVIkYflr/L4/Ac++9SsX7zZFJ86vVPXvs3OlHySdyAVScWezbFqeR8ywCgC/ErvOLaTD3XclyQzCo8YlkRGAlHCZYfNMSEcoJy5wCHTfbi9MfJmUZ2cPAUKeVro= Received: by 10.66.232.11 with SMTP id e11mr5625893ugh.1177962263975; Mon, 30 Apr 2007 12:44:23 -0700 (PDT) Received: from ?192.168.1.34? ( [83.52.237.136]) by mx.google.com with ESMTP id h1sm7600017ugf.2007.04.30.12.44.22; Mon, 30 Apr 2007 12:44:22 -0700 (PDT) In-Reply-To: References: <220DCCF0-FD2D-4116-8E30-992C1AD3FE95@gmail.com> <72EB1952-F2C8-44AC-B1A6-7D8CE5F4A157@gmail.com> Mime-Version: 1.0 (Apple Message framework v752.3) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: Cc: "Caml List" Content-Transfer-Encoding: 7bit From: Joel Reymont Subject: Re: Upgrading sexplib-2.7.0 to camlp4 3.10 Date: Mon, 30 Apr 2007 20:44:20 +0100 To: "Nicolas Pouillard" X-Mailer: Apple Mail (2.752.3) X-j-chkmail-Score: MSGID : 46364718.000 on discorde : j-chkmail score : XXX : 5/20 1 0.000 -> 3 X-Miltered: at discorde with ID 46364718.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; camlp:01 expr:01 expr:01 sexp:01 camlp:01 syntax:01 syntax:01 ctyp:01 assert:01 ident:02 expression:02 ast:02 ast:02 conv:02 loc:03 let tuplify_exprs _loc = function | [] -> assert false | [expr] -> expr | exprs -> <:expr< ( $list:exprs$ ) >> This gives File "pa_sexp_conv.ml", line 61, characters 26-31: This expression has type Camlp4.PreCast.Syntax.Ast.expr list but is here used with type Camlp4.PreCast.Syntax.Ast.ident list Previously, I replaced $list:tys$ with $tup:tys$ in the ctyp context. What do I need to use above? Thanks, Joel -- http://wagerlabs.com/