<div dir="ltr">Hello,<div><br></div><div>Good idea!  I made a little web-page with examples and screenshots.  Have a look:</div><div><br></div><div><a href="https://github.com/yav/graphmod/wiki">https://github.com/yav/graphmod/wiki</a><br></div><div><br></div><div>Indeed, mutually-recursive modules are not a problem.  There is an example of some mutually-recursive modules in the screen-shot from GHC's type-checker.</div><div><br></div><div>By the way, I also added some support for modules that contains CPP, and improved the layout of the graphs a bit, so the current version is 1.2.5.</div><div><br></div><div>Cheers,</div><div>-Iavor</div><div><br></div><div><br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Oct 3, 2014 at 12:43 PM, Mateusz Kowalczyk <span dir="ltr"><<a href="mailto:fuuzetsu@fuuzetsu.co.uk" target="_blank">fuuzetsu@fuuzetsu.co.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On 10/03/2014 07:37 PM, Iavor Diatchki wrote:<br>
> Hello,<br>
><br>
> I am pleased to announce a new version of `graphmod`---a program that helps<br>
> you visualize the import dependencies between the modules in your Haskell<br>
> programs.<br>
><br>
> The new feature in version 1.2.4 is support for pruning the dependency<br>
> graph, which is enabled with the flag -p or --prune-edges.    When this<br>
> option is selected, `graphmod` will ignore imports to modules that are<br>
> already imported by some of the dependencies of the module.<br>
><br>
> For example, consider the following modules:<br>
><br>
>     module A where { import B; import C }<br>
>     module B where { import C }<br>
>     module C where { }<br>
><br>
> When generated with `--prune-edges`, the resulting graph will be:<br>
><br>
>     A -> B -> C<br>
><br>
> Note that there is no edge from `A` to `C`, because `C` is already imported<br>
> by `B`.<br>
><br>
> Happy hacking,<br>
> -Iavor<br>
><br>
><br>
<br>
</div></div>Hi,<br>
<br>
It'd be great if the project page showed an example use and the<br>
generated graph.<br>
<br>
Does it work with possibly mutually-importing boot files?<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
--<br>
Mateusz K.<br>
_______________________________________________<br>
Haskell-Cafe mailing list<br>
<a href="mailto:Haskell-Cafe@haskell.org">Haskell-Cafe@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/haskell-cafe" target="_blank">http://www.haskell.org/mailman/listinfo/haskell-cafe</a><br>
</font></span></blockquote></div><br></div>