Re: [Haskell-cafe] Suppressing HLint on pattern match of files

2013-10-11 Thread Dag Odenhall
Just add it next to -Wall wherever you‘re setting that, because I think you must be setting that yourself somewhere (it’s not on by default). On Thu, Oct 10, 2013 at 6:11 PM, Graham Berks gra...@fatlazycat.com wrote: Ah good point :) Wonder if I can change it on cabal file somehow. Thanks

Re: [Haskell-cafe] Suppressing HLint on pattern match of files

2013-10-11 Thread Adam Bergmark
You can also do this on a module basis with {-# OPTIONS -fno-warn-missing-signatures #-}. I prefer adding type signatures even for cases where I don't think it's important. GHC spits them out so almost no time spent, and someone might find it useful at some point. On Fri, Oct 11, 2013 at 5:53

Re: [Haskell-cafe] Suppressing HLint on pattern match of files

2013-10-10 Thread Dag Odenhall
Is that actually from HLint though? I think that comes from GHC with -Walland can be disabled with -fno-warn-missing-signatures. On Thu, Oct 10, 2013 at 7:50 AM, Graham Berks gra...@fatlazycat.com wrote: Hi, would like to disable 'Top-level binding with no type signature' In my test modules

Re: [Haskell-cafe] Suppressing HLint on pattern match of files

2013-10-10 Thread Graham Berks
Ah good point :) Wonder if I can change it on cabal file somehow. Thanks On 10 October 2013 at 14:05:45, Dag Odenhall (dag.odenh...@gmail.com) wrote: Is that actually from HLint though? I think that comes from GHC with -Wall and can be disabled with -fno-warn-missing-signatures. On

[Haskell-cafe] Suppressing HLint on pattern match of files

2013-10-09 Thread Graham Berks
Hi, would like to disable 'Top-level binding with no type signature' In my test modules that are prefixed with Test. Is this possible ?? Thanks ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org