On Wed, Oct 21, 2015 at 12:23 AM, Vincent Hanquez <tab@snarc.org> wrote:


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

_______________________________________________
Libraries mailing list
Libraries@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries


+1