This may not have been true of the version that was on the website previously. I've just updated it to my latest version, which does indeed work with camlp5. Chris On Nov 7, 2007 7:48 PM, Christopher L Conway <cconway@cs.nyu.edu> wrote:pa_log is compatible with camlp5. In fact, that's what I use. Just s/4/5/ all commands invoking camlp4. Regards Chris On Nov 7, 2007 1:25 PM, tmp123 <tmp123@menta.net> wrote:Hello, The module "pa_log" proposed by Mr. Conway seems very near to the objective of my previuos post. The objective now is expand a line like: DEBUG 3 "%d\n" 14 to: if debug.val then logint 3 ( fun () -> Printf.printf "%d\" 14 ) else (); However, it is necessary to migrate the module to new camlpx . Please, could someone give any advice about the current options: camlp4 or camlp5? PreCast? Functorial? Thanks a lot. _______________________________________________ Caml-list mailing list. Subscription management: http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list Archives: http://caml.inria.fr Beginner's list: http://groups.yahoo.com/group/ocaml_beginners Bug reports: http://caml.inria.fr/bin/caml-bugs