graphtype: A simple tool to illustrate dependencies between Haskell types

[ bsd3, program, text ] [ Propose Tags ]

This tools produces diagrams of Haskell type interdependencies in the given source. Actual drawing is done by graphviz tools (dot).

[Skip to Readme]


Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


  • No Candidates
Versions [RSS] 0.1, 0.1.1, 0.1.2, 0.2.0
Dependencies base (>=3 && <5), containers, dotgen (>=0.4.1), haskell-src-exts, haskell98, uniplate [details]
License BSD-3-Clause
Copyright (c) 2009,2010 Dmitry Astapov
Author Dmitry Astapov
Maintainer Max Desyatov <explicitcall at>
Category Text
Home page
Bug tracker
Source repo head: git clone git://
Uploaded by DmitryAstapov at 2010-09-13T13:52:48Z
Reverse Dependencies 1 direct, 0 indirect [details]
Executables graphtype
Downloads 3611 total (12 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
All reported builds failed as of 2016-12-28 [all 8 reports]

Readme for graphtype-0.2.0

[back to package description]
Tool to produce dependency diagram from the set of *.hs files. Diagram
will include specified top-level declaration and all user-defined
types referencd from there (recursively).

To see dependency diagram for type MegaData and all other types
referenced from there, use:

        graphtype MegaData *.hs

User can choose to omit types and newtypes that do not contain
anything other than library types - this could be useful to unclutter
really large diagrams. Try running "graphtype --trim ..." and see
whether it helps you or otherwise.