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 <[email protected]>wrote: > On 3 March 2010 08:25, Sean McLaughlin <[email protected]> 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 > [email protected] > IvanMiljenovic.wordpress.com >
_______________________________________________ Haskell-Cafe mailing list [email protected] http://www.haskell.org/mailman/listinfo/haskell-cafe
