Version française
Home     About     Download     Resources     Contact us    
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: -- (:)
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?

Greetings,

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