Skip to content
Snippets Groups Projects
Commit 60dfb0cb authored by Herbert Valerio Riedel's avatar Herbert Valerio Riedel :man_dancing:
Browse files

Inhibit -Wnoncanonical-monadfail-instances for GHC 8.8+

It's an obsolete warning for GHC 8.8+
parent 76c82054
No related branches found
No related tags found
No related merge requests found
......@@ -87,7 +87,9 @@ library
ghc-options: -Wall
if impl(ghc >= 8.0)
ghc-options: -Wcompat -Wnoncanonical-monad-instances -Wnoncanonical-monadfail-instances -Wno-trustworthy-safe
ghc-options: -Wcompat -Wnoncanonical-monad-instances -Wno-trustworthy-safe
if impl(ghc < 8.8)
ghc-options: -Wnoncanonical-monadfail-instances
else
-- provide/emulate `Control.Monad.Fail` and `Semigroup` API for pre-GHC8
build-depends: fail == 4.9.*, semigroups >= 0.18 && < 0.20
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment