Re: [Haskell-cafe] Suppressing HLint on pattern match of files
Ah that sounds good, thanks will incorporate that. G On 11 October 2013 at 17:21:44, Adam Bergmark (adam@edea.se) wrote: 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 PM, Dag Odenhall <dag.odenhall@gmail.com> wrote: 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 <graham@fatlazycat.com> wrote: 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.odenhall@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 Thu, Oct 10, 2013 at 7:50 AM, Graham Berks <graham@fatlazycat.com> wrote: 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 http://www.haskell.org/mailman/listinfo/haskell-cafe _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
participants (1)
-
Graham Berks