Version française
Home     About     Download     Resources     Contact us    
Browse thread
Help with new camlp4
[ 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: [Caml-list] Help with new camlp4

On Apr 2, 2007, at 1:24 PM, Joel Reymont wrote:

> How do you do the following?
>
> Quotation.add "octalxml" (Quotation.ExAst  
> (expand_expr_str,expand_patt)) ;;
> Quotation.add "octalfile" (Quotation.ExAst  
> (expand_expr_file,expand_patt)) ;;

expand_expr_str has to have a particular signature, i.e.

let expand_str_expr loc loc_name_opt s

and it doesn't. Working on it...

--
http://wagerlabs.com/