[Haskell-cafe] Unused import warnings.

Lyndon Maydwell maydwell at gmail.com
Tue Aug 10 17:23:03 EDT 2010


Fantastic. It was the bug mentioned.

On Wed, Aug 11, 2010 at 5:00 AM, Martijn van Steenbergen
<martijn at van.steenbergen.nl> wrote:
> 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 at haskell.org
>> http://www.haskell.org/mailman/listinfo/haskell-cafe
>
>


More information about the Haskell-Cafe mailing list