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:45)
From: Daniel de Rauglaudre <daniel.de_rauglaudre@i...>
Subject: Re: toplevel listing of modules?

On Fri, Oct 20, 2000 at 09:07:11AM +0200, Stephan Houben wrote:

> 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?

For the contents of a module, there is a trick. To have the contents
of, e.g. the module List, type:

    # module M = List;;