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

Adam Bergmark adam
Fri Oct 11 16:21:43 UTC 2013


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 at 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 at 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 at gmail.com<//dag.odenhall at 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 at 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 at haskell.org
>>> http://www.haskell.org/mailman/listinfo/haskell-cafe
>>>
>>>
>>
>
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20131011/c519adc9/attachment.html>



More information about the Haskell-Cafe mailing list