是否可以在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.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.