Re: [Haskell-cafe] GHC's -fwarn-unused-imports ignores function signatures

2009-01-28 Thread Nicolas Pouillard
Excerpts from Martijn van Steenbergen's message of Wed Jan 28 17:33:18 +0100 2009: > This is a bug in GHC. See: > > http://hackage.haskell.org/trac/ghc/ticket/2267 > > I have the same problem in several of my source files. :-( Sometimes swaping the import lists does hide this wrong warning. In

Re: [Haskell-cafe] GHC's -fwarn-unused-imports ignores function signatures

2009-01-28 Thread Martijn van Steenbergen
This is a bug in GHC. See: http://hackage.haskell.org/trac/ghc/ticket/2267 I have the same problem in several of my source files. :-( Michael Snoyman wrote: I was writing code similar to the following and compiling with "-Wall -Werror." Clearly I *am* using Data.ByteString for the function si

[Haskell-cafe] GHC's -fwarn-unused-imports ignores function signatures

2009-01-28 Thread Michael Snoyman
I was writing code similar to the following and compiling with "-Wall -Werror." Clearly I *am* using Data.ByteString for the function signatures. {-# OPTIONS_GHC -fwarn-unused-imports -Werror #-} import qualified Data.ByteString as B import qualified Data.ByteString.UTF8 as BU toString :: B.ByteS