Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Colin Walters <walters@cis.ohio-state.edu>
To: caml-list@inria.fr
Subject: equivalent of Lisp's `print'?
Date: 14 Nov 2000 00:07:58 -0500	[thread overview]
Message-ID: <87g0kv16q9.church.of.emacs@meta.verbum.org> (raw)

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.



                 reply	other threads:[~2000-11-14 14:18 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87g0kv16q9.church.of.emacs@meta.verbum.org \
    --to=walters@cis.ohio-state.edu \
    --cc=caml-list@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox