[Haskell-cafe] Request: warn about language extensions that are not used

Martijn van Steenbergen martijn at van.steenbergen.nl
Wed Mar 11 12:18:54 EDT 2009

I'd love that. I've been wanting this for a while, at least 
subconsciously. Thanks for making it explicit. :-)

Peter Verswyvelen wrote:
> When I put
> {-# OPTIONS_GHC -Wall -Werror #-}
> in my source file, I don't get compiler (GHC) warnings about redundant 
> language extensions that I enabled.
> It would be nice if the compiler gave warnings about this, since after 
> refactoring, some language extensions might not be needed anymore, and 
> hence should be removed since fewer language extensions mean more stable 
> and portable code no?
> What do you think?
> ------------------------------------------------------------------------
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe

More information about the Haskell-Cafe mailing list