From: maranget@yquem.inria.fr (Luc Maranget)
To: skaller <skaller@users.sourceforge.net>
Cc: caml-list@yquem.inria.fr
Subject: Re: [Caml-list] cut down camldep
Date: Fri, 28 Sep 2007 18:03:50 +0200 [thread overview]
Message-ID: <20070928160350.GA17311@yquem.inria.fr> (raw)
In-Reply-To: <1190993816.14100.4.camel@rosella.wigram>
Perhaps 'ocamldep -modules' is what you need.
--Luc
> I wonder if there is some hope of an 'camldep' program which,
> given a file x.ml(i) lists the modules on which it depends
> but not provided internally.
>
> Possibly this can be done in camlp4?
>
> What I do not want is grubby makefile syntax, assumptions
> about file extensions, or any directory scanning. Just
>
> camldep -pp camlp4_things filename.ml
>
> prints:
>
> List
> Hashtbl
>
> for example.
>
> --
> John Skaller <skaller at users dot sf dot net>
next prev parent reply other threads:[~2007-09-28 16:03 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-28 15:36 skaller
2007-09-28 16:03 ` Luc Maranget [this message]
2007-09-28 17:20 ` [Caml-list] " skaller
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=20070928160350.GA17311@yquem.inria.fr \
--to=maranget@yquem.inria.fr \
--cc=caml-list@yquem.inria.fr \
--cc=skaller@users.sourceforge.net \
/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