
2 Mar
2010
2 Mar
'10
4:28 p.m.
seanmcl:
Hello,
I have a midsize program, and would like to simplify the module interfaces for my own sanity. I know there are tools to check for extraneous imports, but is there something similar for exports? For instance, if module A exports f, but A.f is never used in my compiled program, I would like to be warned of this fact.
ghc -ddump-minimal-imports I think that's the flag. -- Dump