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.Some other warnings like 'unused-imports' don't make much sense on by default with -Wall.
e.g. for 8.0 this would include the warnings for the MonadFail proposal, etc.
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