English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

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: 2010-04-14 (15:02)
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