- detection of unnecessary arguments for functions; - detection of unnecesary imports of modules;
http://www.haskell.org/ghc/docs/latest/html/users_guide/options-sanity.html
ghc -W:
Provides the standard warnings plus -fwarn-incomplete-patterns, -fwarn-unused-matches, -fwarn-unused-imports, -fwarn-misc, and -fwarn-unused-binds.
These also give you lots of dead code detection (unused-binds, unused-matches), but may miss some dead code.
Also very useful for getting specific with your import lists is -ddump-minimal-imports.
Cheers,
Andy
_______________________________________________ Haskell mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/haskell
