Version française
Home     About     Download     Resources     Contact us    
Browse thread
camlp4: Curried constructor error
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Joel Reymont <joelr1@g...>
Subject: Re: camlp4: Curried constructor error
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<templ.html>>
>
> print_endline (Xml.to_string_fmt (Templ.render ~page ~visitor));;

--
http://wagerlabs.com/