Commit 60dfb0cb authored by Herbert Valerio Riedel's avatar Herbert Valerio Riedel 🕺

Inhibit -Wnoncanonical-monadfail-instances for GHC 8.8+

It's an obsolete warning for GHC 8.8+
parent 76c82054
...@@ -87,7 +87,9 @@ library ...@@ -87,7 +87,9 @@ library
ghc-options: -Wall ghc-options: -Wall
if impl(ghc >= 8.0) 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 else
-- provide/emulate `Control.Monad.Fail` and `Semigroup` API for pre-GHC8 -- provide/emulate `Control.Monad.Fail` and `Semigroup` API for pre-GHC8
build-depends: fail == 4.9.*, semigroups >= 0.18 && < 0.20 build-depends: fail == 4.9.*, semigroups >= 0.18 && < 0.20
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment