[Haskell-cafe] Unused import warnings.

Lyndon Maydwell maydwell at gmail.com
Tue Aug 10 16:22:04 EDT 2010


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


More information about the Haskell-Cafe mailing list