Re: [Haskell-cafe] Unused definitions across modules in a package

2013-02-21 Thread Felipe Almeida Lessa
On Wed, Feb 20, 2013 at 9:20 PM, Ivan Lazar Miljenovic ivan.miljeno...@gmail.com wrote: My (getting-long-in-the-tooth-and-could-do-with-a-rewrite) SourceGraph package does identify these definitions. What a coincidence, then! I was trying to use SourceGraph for other reasons but it didn't work

[Haskell-cafe] Unused definitions across modules in a package

2013-02-20 Thread Felipe Almeida Lessa
Hey! GHC warns me about unused definitions in a module. However, is it possible to warn me about unused definitions in a package? For example, suppose that module A exports function f and that module B uses A.f (everything on a single package). However, after some time B stops using A.f. Is

Re: [Haskell-cafe] Unused definitions across modules in a package

2013-02-20 Thread Ivan Lazar Miljenovic
On 21 February 2013 08:56, Felipe Almeida Lessa felipe.le...@gmail.com wrote: Hey! GHC warns me about unused definitions in a module. However, is it possible to warn me about unused definitions in a package? For example, suppose that module A exports function f and that module B uses A.f