Are you saying that GHC complains about an unused import that is in fact used? Perhaps you've run into this bug:
http://hackage.haskell.org/trac/ghc/ticket/1148

Are you using a recent version of GHC?

Groetjes,

Martijn.


On 8/10/10 22:22, Lyndon Maydwell wrote:
Hi Cafe.

I have written some QuickCheck properties in my source and am using
these for testing, however, when I compile my program I get warned
about unused imports:

Warning: Module `Test.QuickCheck' is imported, but nothing from it is used

Is there a way to suppress these warnings for a particular module by
using a pragma directive or something similar?


Thanks!

- Lyndon
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to