Le Mon, 2 Apr 2007 13:30:26 +0100, Joel Reymont a écrit : > > 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... It changed a few days ago. Look at the end of ocaml/camlp4/examples/lambda_quot.ml Regards, -- Gabriel