[Haskell-cafe] minimal interface
Don Stewart
dons at galois.com
Tue Mar 2 16:28:15 EST 2010
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
More information about the Haskell-Cafe
mailing list