<div>When I put</div><div><br></div><div>{-# OPTIONS_GHC -Wall -Werror #-}</div><div><br></div><div>in my source file, I don&#39;t get compiler (GHC) warnings about redundant language extensions that I enabled.</div><div><br>
</div><div>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?</div>
<div><br></div><div>What do you think?</div><div><br></div>