[Haskell-cafe] Enable -Wall by default?

Ben Franksen ben.franksen at online.de
Tue Dec 22 19:19:57 UTC 2020


Am 22.12.20 um 12:18 schrieb Oleg Grenrus:
> On 22.12.2020 1.36, Ben Franksen wrote:
>> 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.
> 
> It is
> 
> https://gitlab.haskell.org/ghc/ghc/-/merge_requests/4614

Nice!

> Though not -Wpartial-fields (definition site), but
> -Wincomplete-record-updates (use site).

Is there a specific reason or is it just that it wasn't included in the
proposal?

Cheers
Ben



More information about the Haskell-Cafe mailing list