From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by yquem.inria.fr (Postfix) with ESMTP id B6818BC57 for ; Wed, 14 Apr 2010 17:02:34 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AtwCAEp2xUvRVdvikWdsb2JhbACPboFSig4IFQEBAQEJCwoHEQMfrGyBcIVmLohNAQEDBYUIBA X-IronPort-AV: E=Sophos;i="4.52,204,1270418400"; d="scan'208";a="48895183" Received: from mail-ew0-f226.google.com ([209.85.219.226]) by mail2-smtp-roc.national.inria.fr with ESMTP; 14 Apr 2010 17:02:34 +0200 Received: by ewy26 with SMTP id 26so121537ewy.3 for ; Wed, 14 Apr 2010 08:02:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:content-type :content-transfer-encoding:subject:date:message-id:to:mime-version :x-mailer; bh=gKZWyVy1ctExMidFYHkdLeX4mKualxbO+m3VDoXhkUI=; b=dsgwkXB97MCep+HErJjAXu0mMk/qSwI6pVeYLmfpYfJVe31xDpXrvhmYahSUyshgBP ce5E6/ZDDl1yPLF0lW7fFvEASOYOnZje4WRiZQxCQPa6CgOpqsMhy6HAE0L05C7gZg0Z uJfoN2cMxLCF++8OXiTBbeQxZC4xlmD00yuw4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:content-type:content-transfer-encoding:subject:date:message-id :to:mime-version:x-mailer; b=wZq0a1sffvAzKiVbwy4tnmwpPTwkPBtJQm8+qxUnYbpoZRADZc6EzurDxACajrDon3 IMdbdWbNviyoCKr6gjxsu2LTD9kWVt4PvNFkJo3DsNnnS1rHl2qFhA8p1YhVNleWiT81 5PrvKABKJEakwHfRWK8Dyq95dCCp6axYt0OIU= Received: by 10.213.26.138 with SMTP id e10mr3719922ebc.80.1271257354015; Wed, 14 Apr 2010 08:02:34 -0700 (PDT) Received: from [192.168.2.3] (77-57-172-115.dclient.hispeed.ch [77.57.172.115]) by mx.google.com with ESMTPS id 15sm285560ewy.8.2010.04.14.08.02.33 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 14 Apr 2010 08:02:33 -0700 (PDT) From: Kaspar Rohrer Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: Inspect and dump values on the OCaml heap Date: Wed, 14 Apr 2010 17:02:30 +0200 Message-Id: <3FB04EDC-37F4-4336-A435-13ACF038051D@gmail.com> To: caml-list@yquem.inria.fr Mime-Version: 1.0 (Apple Message framework v1077) X-Mailer: Apple Mail (2.1077) X-Spam: no; 0.00; ocaml:01 ocaml:01 git:98 heap:01 heap:01 data:02 data:02 library:03 dump:06 dump:06 somewhere:06 anybody:07 written:07 i'm:09 i'm:09 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