Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Dum: dumper module with cycle detection
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  1 message - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Martin Jambon  
View profile  
 More options Sep 22 2008, 5:02 pm
Newsgroups: fa.caml
From: Martin Jambon <mar...@wink.com>
Date: Mon, 22 Sep 2008 21:02:32 UTC
Local: Mon, Sep 22 2008 5:02 pm
Subject: [Caml-list] Dum: dumper module with cycle detection
Hi list,

Wink.com is releasing a module called Dum for dumping data.
It derives from Dumper by Richard W Jones (now Std.dump in Extlib) and
from Size by Jean-Christophe Filliatre.

    http://oss.wink.com/dum/

The main improvement over the original Dumper is that shared values
and therefore cycles are detected and labelled:

# let rec loopy = 1 :: 2 :: loopy in Dum.p loopy;;
- : string = "#0: (1 (2 #0))"

Dum was originally developed to print the maximum out of uncaught
exceptions, since the standard Printexc.to_string does not go arbitrarily
deep and this was occasionally a source of frustration.

Now data such as closure fields and object fields are dumped like regular
data without causing particular problems or worries.

The output is pretty-printed and its size limit is configurable.

Enjoy!

Martin, for Wink.

--
http://wink.com/

_______________________________________________
Caml-list mailing list. Subscription management:
http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
Archives: http://caml.inria.fr
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google