[Haskell-cafe] Re: Call Graph Tool?

Dougal Stanton dougal at dougalstanton.net
Fri Jun 27 07:49:35 EDT 2008

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...



Dougal Stanton
dougal at dougalstanton.net // http://www.dougalstanton.net

More information about the Haskell-Cafe mailing list