English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

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: 2004-02-27 (16:11)
From: Issac Trotts <ijtrotts@u...>
Subject: Re: [Caml-list] Can I print like the toplevel?
On Fri, Feb 27, 2004 at 08:42:46AM -0600, Eric Dahlman wrote:
> Howdy,
> 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.

Have you tried ocamldebug?  

Issac Trotts

To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners