[Haskell-cafe] How to find unused exported symbols?

Yuras Shumovich shumovichy at gmail.com
Mon Feb 15 10:35:14 EST 2010


Hmm... It looks like a useful tool to implement.
(Of course it does not make sense for libraries, only for executables)
It can be easily implemented using haskell-src-exts package.

2010/2/15 John D. Ramsdell <ramsdell0 at gmail.com>:
> I would like to find symbols exported from each module in a program
> that are not used outside the module.  I'm worried my program is
> accumulating cruft.  I'm looking for suggestions on how to find unused
> exported symbols.  Do I have to analyse .hi files?  Thanks in advance.
>
> John
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>


More information about the Haskell-Cafe mailing list