* [Caml-list] Can I print like the toplevel?
@ 2004-02-27 14:42 Eric Dahlman
2004-02-27 16:11 ` Issac Trotts
0 siblings, 1 reply; 2+ messages in thread
From: Eric Dahlman @ 2004-02-27 14:42 UTC (permalink / raw)
To: caml-list
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.
Thanks,
-Eric
-------------------
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Caml-list] Can I print like the toplevel?
2004-02-27 14:42 [Caml-list] Can I print like the toplevel? Eric Dahlman
@ 2004-02-27 16:11 ` Issac Trotts
0 siblings, 0 replies; 2+ messages in thread
From: Issac Trotts @ 2004-02-27 16:11 UTC (permalink / raw)
To: caml-list
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
http://redwood.ucdavis.edu/~issac
-------------------
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-02-27 16:11 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-02-27 14:42 [Caml-list] Can I print like the toplevel? Eric Dahlman
2004-02-27 16:11 ` Issac Trotts
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox