* equivalent of Lisp's `print'?
@ 2000-11-14 5:07 Colin Walters
0 siblings, 0 replies; only message in thread
From: Colin Walters @ 2000-11-14 5:07 UTC (permalink / raw)
To: caml-list
Hello,
A quick newbie question: Is there a way I can print any data type,
like ones I have defined myself? Something like Lisp's `print'
function would be great. The OCaml compiler does this when you type
expressions at the toplevel; can I access this from my code?
By the way; I'm surprised that the Caml Hump wasn't prominently listed
on the OCaml web page! I think libraries and utility software are an
important part of a language's success. For example, the
OcamlMakefile saved me a fair amount of time.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2000-11-14 14:18 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-11-14 5:07 equivalent of Lisp's `print'? Colin Walters
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox