Skip to content

Draft: Count deps track hs-boot information, and also work with the bootstrap GHC

John Ericson requested to merge wip/count-hi-deps into master

A few things here

  1. Count deps doesn't just count the deps, it can also spit out graphviz. But so long as it doesn't explicitly track hs-boot, that means that graph is cyclic. I would like to really understand the precise ways in which things are entangled / not entangled, and so I would like to see hs-boot files tracked separately.

  2. Supporting the bootstrap GHCi is not essential, but it makes standalone usage of this tool easier. I like being able to work on the compiler with GHCi in stage 0, and I like being able to use this tool without waiting for a build of GHC. If the CPP isn't worth it to others I'll remove it, but I threw in in here just because it happened to be what i was doing anyways.

Edited by John Ericson

Merge request reports