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
Printing values
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2005-03-15 (04:25)
From: Christian Stork <cstork@i...>
Subject: Printing values
This must be a dumb question, but I couldn't find an answer.

How can I print values of my own data types in the default way, eg, as
the debugger or the toplevel does it?  Is there a standard formatter
that I can use (or generate), or do I have to write a new formatter for
each data type? 


Chris Stork   <>  Support!  <>
OpenPGP fingerprint:  B08B 602C C806 C492 D069  021E 41F3 8C8D 50F9 CA2F