Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
toplevel listing of modules?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2000-10-20 (12:27)
From: Stephan Houben <stephan@p...>
Subject: toplevel listing of modules?
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?


ir. Stephan H.M.J. Houben
tel. +31-40-2474358 / +31-40-2743497