Re: [Haskell-cafe] Unused import warnings.

2010-08-10 Thread Lyndon Maydwell
Fantastic. It was the bug mentioned. On Wed, Aug 11, 2010 at 5:00 AM, Martijn van Steenbergen 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 ve

Re: [Haskell-cafe] Unused import warnings.

2010-08-10 Thread Martijn van Steenbergen
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 Q

Re: [Haskell-cafe] Unused import warnings.

2010-08-10 Thread Lyndon Maydwell
Is there a way to just ignore the warnings for QuickCheck? On Wed, Aug 11, 2010 at 4:32 AM, Christopher Done wrote: > On 10 August 2010 22:25, Lyndon Maydwell wrote: >> On Wed, Aug 11, 2010 at 4:23 AM, Christopher Done >> wrote: >>> On 10 August 2010 22:22, Lyndon Maydwell wrote: Hi Cafe.

Re: [Haskell-cafe] Unused import warnings.

2010-08-10 Thread Christopher Done
On 10 August 2010 22:25, Lyndon Maydwell wrote: > On Wed, Aug 11, 2010 at 4:23 AM, Christopher Done > wrote: >> On 10 August 2010 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

Re: [Haskell-cafe] Unused import warnings.

2010-08-10 Thread Lyndon Maydwell
I'm using qualified properties with (import Test.QuickCheck ((==>))) so that may not be possible. On Wed, Aug 11, 2010 at 4:23 AM, Christopher Done wrote: > On 10 August 2010 22:22, Lyndon Maydwell wrote: >> Hi Cafe. >> >> I have written some QuickCheck properties in my source and am using >> th

Re: [Haskell-cafe] Unused import warnings.

2010-08-10 Thread Christopher Done
On 10 August 2010 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

[Haskell-cafe] Unused import warnings.

2010-08-10 Thread Lyndon Maydwell
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 parti