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
Inspect and dump values on the OCaml heap
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Kaspar Rohrer <kaspar.rohrer@g...>
Subject: Inspect and dump values on the OCaml heap
Hello everybody

I've written a little library to inspect and dump values on the OCaml heap, as S-expressions or in the Graphiz dot-format.
It's as simple as

open Inspect

dump ();;
dump 3;;
dump (1,2);;
dump (test_data ();
dot (test_data ());

If anybody is interested, I will put up the code somewhere. Any opinions on a good place to post it? I'm using git, so I'm thinking maybe git-hub?
I'm also unsure as to what license I should use. I'm favoring some kind of BSD-license, to keep it simple?

Best regards
	Kaspar Rohrer