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

Let me rephrase: I'm doing that pre-treatment from inside ocamldoc.
Therefore, I don't think that running ocamldoc from ocamldoc is an
option. Now, perhaps I should try and access data visible to Odoc_cross
or Odoc_analyse?

Cheers,
 David


On Fri, 2008-09-05 at 14:37 +0200, Maxence Guesdon wrote:
> 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
> 
-- 
David Teller-Rajchenbach
 Security of Distributed Systems
  http://www.univ-orleans.fr/lifo/Members/David.Teller
 Angry researcher: French Universities need reforms, but the LRU act brings liquidations. 


  reply	other threads:[~2008-09-05 12:42 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
2008-09-05 12:42         ` David Teller [this message]
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=1220618573.8100.34.camel@Blefuscu \
    --to=david.teller@univ-orleans.fr \
    --cc=caml-list@yquem.inria.fr \
    --cc=maxence.guesdon@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).