[Haskell-cafe] ANN: New version of graphmod (1.2.4)
Mateusz Kowalczyk
fuuzetsu at fuuzetsu.co.uk
Fri Oct 3 19:43:19 UTC 2014
On 10/03/2014 07:37 PM, Iavor Diatchki wrote:
> Hello,
>
> I am pleased to announce a new version of `graphmod`---a program that helps
> you visualize the import dependencies between the modules in your Haskell
> programs.
>
> The new feature in version 1.2.4 is support for pruning the dependency
> graph, which is enabled with the flag -p or --prune-edges. When this
> option is selected, `graphmod` will ignore imports to modules that are
> already imported by some of the dependencies of the module.
>
> For example, consider the following modules:
>
> module A where { import B; import C }
> module B where { import C }
> module C where { }
>
> When generated with `--prune-edges`, the resulting graph will be:
>
> A -> B -> C
>
> Note that there is no edge from `A` to `C`, because `C` is already imported
> by `B`.
>
> Happy hacking,
> -Iavor
>
>
Hi,
It'd be great if the project page showed an example use and the
generated graph.
Does it work with possibly mutually-importing boot files?
--
Mateusz K.
More information about the Haskell-Cafe
mailing list