[Haskell-cafe] Reducing the need for CPP

Bardur Arantsson spam at scientician.net
Tue Oct 6 16:16:52 UTC 2015


On 10/06/2015 11:11 AM, Johan Tibell wrote:
> It might be enough to just add a NOWARN <warning type> pragma that acts on
> a single line/expression. I've seen it in both C++ and Python linters and
> it works reasonably well and it's quite general.

+1. Simple is good and can hopefully also be backported to older GHC
releases. (Provided someone's willing to do said releases, obviously.)




More information about the Haskell-Cafe mailing list