Based in the implementation of ExtLib's Std.dump and the code of
camlp4r, another module to "print/dump any value" has been implemented.
Thanks to the original authors.
The reason of the new version is to add two requirements need in my
1) A strong split of: the analisis of value structure; the map of this
structure over the value; and the print (or usage) of the resulting
2) Allow the user to provide no information, some information or all
information about field names and any other data that can not be
obtained automatically from the value.
Code uses camlp4r revised syntax, but as usual module can be used with
You can find the source, reference documentation and example at:
Any comments, from "useless", "already done" to "improve ..." are welcome.
Caml-list mailing list. Subscription management:
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs