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
Two questions on OCamlDoc
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Maxence Guesdon <maxence.guesdon@i...>
Subject: Re: [Caml-list] Two questions on OCamlDoc
On Fri, 05 Sep 2008 14:33:43 +0200
David Teller <> wrote:

> I'm doing some pre-treatment on the module structure before actually
> generating documentation. In particular, I'd like to be able to find out
> if the .ml contains an inclusion of some given module -- even if there
> is a .mli -- as this will change the resulting structure.
> Is there a way to do such a thing?

You may use ocamldoc on your .ml file and look if it contains a
Element_included_module refering to some given module.

Does it help ?



Maxence Guesdon                 
Service Expérimentation et Développements
INRIA Paris-Rocquencourt