Hi Ivan,<div><br></div><div>  I ran SourceGraph on the program above.  Could you help me find where A.g is unused?</div><div>In particular, I can&#39;t see a difference in the output in the following cases:</div><div><br></div>

<div><div>main = do</div><div>  let a = A.f 7</div><div>  putStrLn $ show a</div><div><br></div><div><div>main = do</div><div>  let a = A.f $ A.g 7</div><div>  putStrLn $ show a</div></div><div><br></div><div>Thanks!</div>

<div><br></div><div>Sean</div><br><div class="gmail_quote">On Tue, Mar 2, 2010 at 5:14 PM, Ivan Miljenovic <span dir="ltr">&lt;<a href="mailto:ivan.miljenovic@gmail.com">ivan.miljenovic@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">On 3 March 2010 08:25, Sean McLaughlin &lt;<a href="mailto:seanmcl@gmail.com">seanmcl@gmail.com</a>&gt; wrote:<br>


&gt; For instance, if module A exports f, but A.f is never used in my compiled program,<br>
&gt; I would like to be warned of this fact.<br>
<br>
</div>My SourceGraph program (<br>
<a href="http://hackage.haskell.org/package/SourceGraph" target="_blank">http://hackage.haskell.org/package/SourceGraph</a> ) does this, but you&#39;ll<br>
have to look through the generated report to find it.<br>
<font color="#888888"><br>
--<br>
Ivan Lazar Miljenovic<br>
<a href="mailto:Ivan.Miljenovic@gmail.com">Ivan.Miljenovic@gmail.com</a><br>
<a href="http://IvanMiljenovic.wordpress.com" target="_blank">IvanMiljenovic.wordpress.com</a><br>
</font></blockquote></div><br></div>