Tools for generating Haskell function dependency (

2019-01-30 19:16发布

Note not "functional dependency". Are there tools available that allow me to build a static function dependency graph from source code? Something which indicates to me which functions depend on which other ones in a graphical manner.

1条回答
贼婆χ
2楼-- · 2019-01-30 19:39

Yes, there certainly are. If you look in the Development category on Hackage, you'll find tools for:

In particular, SourceGraph contains many analysis passes, including:

Other tools that you might be interested in are:

Here is the functional call graph produced by SourceGraph run over cabal2arch:

alt text

查看更多
登录 后发表回答