3 release policy

Vincent Hanquez tab at snarc.org
Tue Oct 20 21:23:28 UTC 2015



On 20/10/2015 22:12, Edward Kmett wrote:
> I think Herbert was proposing adding a -Wcompat flag to use to get all 
> warnings of known pending changes, even ones where action now can't be 
> taken without CPP.
>
> e.g. for 8.0 this would include the warnings for the MonadFail 
> proposal, etc.
Some other warnings like 'unused-imports' don't make much sense on by 
default with -Wall.
This warning is only useful for linting purpose, and clearly doesn't 
fall in the same category as other useful ones.

That would remove the need for a lot of CPP that got added in the 7.10 
era, like:

#if ...
import Control.Applicative
#end

-- 
Vincent


More information about the Libraries mailing list