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
[Caml-list] Can I print like the toplevel?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Eric Dahlman <edahlman@a...>
Subject: [Caml-list] Can I print like the toplevel?

In tracking down a little bug yesterday it would have been really nice 
if I could have printed out a value like the top level prints out the 
value returned. Basically I want the "Print" function from the classic 
read-eval-print loop.  Is such a function available and would I access 
it?  I have done a bit of searching through the ocaml documentation and 
found things related to printing and pretty printing but nothing which 
really looked like it would work for this purpose.


To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: