简体   繁体   English

改用Control.Monad.Trans.Except-如何在ghc中关闭此警告?

[英]Use Control.Monad.Trans.Except instead - how to turn off this warning in ghc?

是否可以在ghc编译器中关闭警告?

Deprecated: "Use Control.Monad.Trans.Except instead"

You can do with 你可以做

{-# OPTIONS_GHC -fno-warn-warnings-deprecations -#}
{-# OPTIONS_GHC -fno-warn-deprecated-flags -#}

But I would not recommend that - better change your import to importing the mentioned package. 但我建议您-最好将导入更改为导入上述包。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM