From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from weis@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id OAA05412 for caml-red; Fri, 20 Oct 2000 14:27:50 +0200 (MET DST) Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id JAA32272 for ; Fri, 20 Oct 2000 09:08:31 +0200 (MET DST) Received: from pcrm.win.tue.nl (pcrm.win.tue.nl [131.155.69.41]) by nez-perce.inria.fr (8.11.1/8.10.0) with ESMTP id e9K78Un27264 for ; Fri, 20 Oct 2000 09:08:30 +0200 (MET DST) Received: from pcrm (stephan@localhost [127.0.0.1]) by pcrm.win.tue.nl (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) with SMTP id JAA25304 for ; Fri, 20 Oct 2000 09:11:15 +0200 From: Stephan Houben Reply-To: stephanh@win.tue.nl Organization: Scientific Computing Group To: caml-list@inria.fr Subject: toplevel listing of modules? Date: Fri, 20 Oct 2000 09:07:11 +0200 X-Mailer: KMail [version 1.0.28] Content-Type: text/plain MIME-Version: 1.0 Message-Id: <00102009111500.25157@pcrm> Content-Transfer-Encoding: 8bit Sender: weis@pauillac.inria.fr 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