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. 

* I don't want to enable IncoherentInstances for my whole module because then I might mess up, only for this one instance
* I don't want to allow all orphan instances, only this one instance
* 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

...  et.c.

Cheers,
Adam


On Wed, Oct 21, 2015 at 1:51 PM, evan@evan-borden.com <evan@evanrutledgeborden.dreamhosters.com> wrote:

> +1 to be able to suppress warnings locally.

Isn't this already possible with the OPTIONS_GHC pragma?

{-# OPTIONS_GHC -fnowarn-____ #-}


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