[Haskell-beginners] Stack minimal dependency specification, or dependency tree output

Simon Jakobi simon.jakobi at googlemail.com
Wed Feb 24 22:55:49 UTC 2016

Hi Lyndon,

I'd like to see some kind of tree instead, so that when I pre-install the
> dependencies, I can specify a minimal list, rather than a whole slew of
> dependencies that would be pulled in transitively anyway.

There's "stack list-dependencies" but that includes the transitive

You can get the dependency tree (or rather dependency graph) with "stack
dot --external"

"stack dot --external --depth 0" will show only the direct dependencies of
your project.

More stack dot examples:

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/beginners/attachments/20160224/fce910a0/attachment.html>

More information about the Beginners mailing list