Saturday, 18 November 2006

Camlp4 exposed by Bruno

Bruno De Fraine did an excellent job answering a question I posted about using camlp4 to statically differentiate an OCaml expression:

http://groups.google.com/group/fa.caml/msg/06a8cc1798ca4680

Didn't occur to me to get familiar with camlp4's representation of OCaml's AST by playing with it in the top level. It's actually really easy... :-)

No comments: