Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Stephan Houben <stephan@pcrm.win.tue.nl>
To: caml-list@inria.fr
Subject: toplevel listing of modules?
Date: Fri, 20 Oct 2000 09:07:11 +0200	[thread overview]
Message-ID: <00102009111500.25157@pcrm> (raw)

Hello list,

I have a question: is there a way to get a list of all
(types|values|modules|...) that are currently available in the toplevel?
Is there a way to get a list of all the stuff in a module?

One of the things I like in Python is that if you have a module `os', then
`dir(os)' will get you a list of all stuff that is in `os'.  
This is great for interactive experiments with a new module.
Is there something similar in O'Caml?

Greetings,

Stephan
 -- 
ir. Stephan H.M.J. Houben
tel. +31-40-2474358 / +31-40-2743497
e-mail: stephanh@win.tue.nl



             reply	other threads:[~2000-10-20 12:27 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-10-20  7:07 Stephan Houben [this message]
2000-10-20 12:37 ` Pierre Weis
2000-10-20 12:39 ` Daniel de Rauglaudre

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=00102009111500.25157@pcrm \
    --to=stephan@pcrm.win.tue.nl \
    --cc=caml-list@inria.fr \
    --cc=stephanh@win.tue.nl \
    /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