Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
Another print anything module
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2008-01-19 (15:52)
From: tmp123@m...
Subject: Another print anything module

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 
current project:
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 
mapped data.
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 
any syntax.

You can find the source, reference documentation and example at:

Any comments, from "useless", "already done" to "improve ..." are welcome.

Kind regards.