Hi Ivan,

  I ran SourceGraph on the program above.  Could you help me find where A.g is unused?
In particular, I can't see a difference in the output in the following cases:

main = do
  let a = A.f 7
  putStrLn $ show a

main = do
  let a = A.f $ A.g 7
  putStrLn $ show a

Thanks!

Sean

On Tue, Mar 2, 2010 at 5:14 PM, Ivan Miljenovic <ivan.miljenovic@gmail.com> wrote:
On 3 March 2010 08:25, Sean McLaughlin <seanmcl@gmail.com> wrote:
> 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.

My SourceGraph program (
http://hackage.haskell.org/package/SourceGraph ) does this, but you'll
have to look through the generated report to find it.

--
Ivan Lazar Miljenovic
Ivan.Miljenovic@gmail.com
IvanMiljenovic.wordpress.com