[Haskell-cafe] Enable -Wall by default?

Ben Franksen ben.franksen at online.de
Mon Dec 21 23:36:39 UTC 2020


Am 22.12.20 um 00:03 schrieb Henning Thielemann:
> On Thu, 10 Dec 2020, Fumiaki Kinoshita wrote:
> 
>> [0] https://www.snoyman.com/blog/2020/12/haskell-bad-parts-3
> 
> He's pretty right about pattern matching and -Wall and
> -Wincomplete-uni-patterns and -Wpartial-fields. It's surprising that the
> two latter ones are not part of -Wall. But this is not your proposal.

Yes, this should definitely be fixed.

> I have always -Wall on, especially during early development. I can
> ignore warnings. But I will always remove the cause for warnings before
> making a commit. Warnings remind me on the unfinished bits. Thus also
> warnings about unused imports, unused parameters, unused functions are
> very important for me.

A very good point, I have run into that problem a lot lately.

Still, this is also not the OP's proposal.

Cheers
Ben



More information about the Haskell-Cafe mailing list