On Fri, Jun 27, 2008 at 11:39 AM, Claus Reinke <claus.reinke at talk21.com> wrote:
> If you wanted to go down that route, try using 'ghc --make -v2'
> and translate that dependency graph to dot.
Also, if you want to get a quick 'n dirty list of which of your own
files depend on which others, "ghc -M $main.hs" works quite well. I've
had some success in the past shoving this stuff almost directly into
the graph libraries and out to graphviz. Be warned that it fiddles
with any file called Makefile in your working directory...
Cheers,
D
--
Dougal Stanton
dougal at dougalstanton.net // http://www.dougalstanton.net