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.0 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 1B5F8BC0A for ; Mon, 2 Apr 2007 15:27:03 +0200 (CEST) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.173]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id l32DR2Xl011815 for ; Mon, 2 Apr 2007 15:27:02 +0200 Received: by ug-out-1314.google.com with SMTP id k3so1617780ugf for ; Mon, 02 Apr 2007 06:27:02 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:mime-version:in-reply-to:references:content-type:message-id:content-transfer-encoding:from:subject:date:to:x-mailer; b=BH3qdRBPCkuCxPn541SLTDlvki8fIjq0ttv3ILzwiw70mBZAVGXWXL0qZlWDlqlwOwerUgK+ZBdgmWwtNk9lg8c5RWHUh2mTOdcignh4y4b9Q0VHKvetFaaaiYYWLI02egAHzMBtJDtGxTAVkhOIWnBJa0dP4iUzAoPbyxA0SFs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:mime-version:in-reply-to:references:content-type:message-id:content-transfer-encoding:from:subject:date:to:x-mailer; b=Q5qb3xaTbIUhLYIbGFnmEEQS/KoXdDi36h3DHZRBQh9a34iJaZIu5oCMQAZCC0pY3YZSJo3M2qhYMDK4QAp/vxSzDy1gDXxIUVMg7z77ikT56QN86MQJHwEXtDi6bIEthozixWdbdsa+/G1A9D4BAWKwUCkbaiw7FPgFbIATQAY= Received: by 10.67.106.3 with SMTP id i3mr4459701ugm.1175520422010; Mon, 02 Apr 2007 06:27:02 -0700 (PDT) Received: from ?192.168.1.34? ( [81.33.210.112]) by mx.google.com with ESMTP id b36sm7940456ika.2007.04.02.06.26.58; Mon, 02 Apr 2007 06:27:00 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v752.3) In-Reply-To: References: Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <60774EF5-3FB9-4D76-A349-5F86DEF00068@gmail.com> Content-Transfer-Encoding: 7bit From: Joel Reymont Subject: Re: camlp4: Curried constructor error Date: Mon, 2 Apr 2007 14:26:59 +0100 To: Caml List X-Mailer: Apple Mail (2.752.3) X-j-chkmail-Score: MSGID : 461104A6.000 on discorde : j-chkmail score : XXX : 5/20 1 0.000 -> 3 X-Miltered: at discorde with ID 461104A6.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; camlp:01 curried:01 camlp:01 compile-time:01 runtime:01 invocation:01 endline:01 fmt:01 foot:98 2007,:98 wrote:01 constructor:01 variables:02 string:02 let:03 Foot in mouth. camlp4 in this case is doing compile-time expansion and cannot take runtime variables. Oh, well... On Apr 2, 2007, at 2:20 PM, Joel Reymont wrote: > Folks, > > I have a the following function and invocation: > > let render = <:octalfile> > > print_endline (Xml.to_string_fmt (Templ.render ~page ~visitor));; -- http://wagerlabs.com/