caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Richard Jones <rich@annexia.org>
To: Kaspar Rohrer <kaspar.rohrer@gmail.com>
Cc: caml-list@yquem.inria.fr
Subject: Re: [Caml-list] Inspect and dump values on the OCaml heap
Date: Wed, 14 Apr 2010 23:45:29 +0100	[thread overview]
Message-ID: <20100414224529.GA24089@annexia.org> (raw)
In-Reply-To: <3FB04EDC-37F4-4336-A435-13ACF038051D@gmail.com>

On Wed, Apr 14, 2010 at 05:02:30PM +0200, Kaspar Rohrer wrote:
> 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?

Graphviz output is interesting, but I would add that such a thing
exists as the 'Std.dump' function in extlib.

Rich.

-- 
Richard Jones
Red Hat


  reply	other threads:[~2010-04-14 22:45 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-14 15:02 Kaspar Rohrer
2010-04-14 22:45 ` Richard Jones [this message]
2010-04-14 23:23   ` [Caml-list] " Kaspar Rohrer
2010-04-15  0:40     ` Martin Jambon
2010-04-15  5:19     ` rixed
2010-04-15  2:09 ` Kaustuv Chaudhuri
2010-04-15  5:31   ` rixed
2010-04-15  5:42   ` Martin Jambon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100414224529.GA24089@annexia.org \
    --to=rich@annexia.org \
    --cc=caml-list@yquem.inria.fr \
    --cc=kaspar.rohrer@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).