caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Maxence Guesdon <maxence.guesdon@inria.fr>
To: Caml <caml-list@yquem.inria.fr>
Subject: Re: [Caml-list] Two questions on OCamlDoc
Date: Fri, 5 Sep 2008 14:37:01 +0200	[thread overview]
Message-ID: <20080905143701.6d6ce52d@alcazar.inria.fr> (raw)
In-Reply-To: <1220618023.8100.31.camel@Blefuscu>

On Fri, 05 Sep 2008 14:33:43 +0200
David Teller <David.Teller@univ-orleans.fr> 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 ?

Regards,

Maxence

-- 
Maxence Guesdon                           http://yquem.inria.fr/~guesdon/
Service Expérimentation et Développements https://devel.inria.fr/rocq/
INRIA Paris-Rocquencourt                  http://www.inria.fr/rocquencourt/




  reply	other threads:[~2008-09-05 12:37 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-02 11:47 David Teller
2008-09-02 12:05 ` [Caml-list] " David Teller
2008-09-02 12:48   ` Another question on OcamlDoc Jan Kybic
2008-09-02 17:19     ` [Caml-list] " David Teller
2008-09-03  6:48     ` Maxence Guesdon
2008-09-15 13:09       ` Jan Kybic
2008-09-02 13:37   ` [Caml-list] Two questions on OCamlDoc Maxence Guesdon
2008-09-02 13:12 ` Maxence Guesdon
2008-09-05 10:25 ` David Teller
2008-09-05 12:03   ` Maxence Guesdon
2008-09-05 12:33     ` David Teller
2008-09-05 12:37       ` Maxence Guesdon [this message]
2008-09-05 12:42         ` David Teller
2008-09-05 12:58           ` Maxence Guesdon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080905143701.6d6ce52d@alcazar.inria.fr \
    --to=maxence.guesdon@inria.fr \
    --cc=caml-list@yquem.inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).