<div dir="ltr">I think Petr was suggesting (either way, I am!) that you should be able to suppress a warning for only one identifier, or only one location. <div><br></div><div>* I don't want to enable IncoherentInstances for my whole module because then I might mess up, only for this one instance</div><div>* I don't want to allow all orphan instances, only this one instance</div><div>* I don't want to hide all possible future and past deprecation warnings, I only want to mark this one identifier as ok for compatibility reasons</div><div><br></div><div>... et.c.</div><div><br></div><div>Cheers,</div><div>Adam</div><div><br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Oct 21, 2015 at 1:51 PM, <a href="mailto:evan@evan-borden.com">evan@evan-borden.com</a> <span dir="ltr"><<a href="mailto:evan@evanrutledgeborden.dreamhosters.com" target="_blank">evan@evanrutledgeborden.dreamhosters.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><p dir="ltr"></p>
<p dir="ltr">> +1 to be able to suppress warnings locally.</p>
</span><p dir="ltr">Isn't this already possible with the OPTIONS_GHC pragma?</p>
<p dir="ltr">{-# OPTIONS_GHC -fnowarn-____ #-}<br>
</p>
<br>_______________________________________________<br>
Libraries mailing list<br>
<a href="mailto:Libraries@haskell.org">Libraries@haskell.org</a><br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries" rel="noreferrer" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries</a><br>
<br></blockquote></div><br></div></div></div>