https://serokell.io/blog/dependency-analysis-haskell
Check out this post by Serokell.