on master help sign in
Merge pull request #400 from phadej/cond-fail

Depend on fail conditionally, also don't depend on syb and mtl

commitdb4f9c6c5499d249d234ba236b2fb26477f6a237 authorAdam Bergmark <adam@bergmark.nl> dateWed 1 Jun 2016, 20:04 (10 years ago) parent2fac001bbb5115
1 file changed+5−6
aeson.cabal+5−6
aeson.cabal+5−6
@@ -94,22 +94,21 @@ library
9494 containers,
9595 deepseq,
9696 dlist >= 0.2,
97− fail == 4.9.*,
9897 ghc-prim >= 0.2,
9998 hashable >= 1.1.2.0,
100− mtl,
10199 scientific >= 0.3.1 && < 0.4,
102− syb,
103100 tagged >=0.8.3 && <0.9,
104101 template-haskell >= 2.7,
105102 text >= 1.1.1.0,
106− transformers,
107103 unordered-containers >= 0.2.5.0,
108104 vector >= 0.8
109105
110106 if !impl(ghc >= 8.0)
111− -- `Data.Semigroup` is available in base only since GHC 8.0 / base 4.9
112− build-depends: semigroups >= 0.16.1 && < 0.19
107+ -- `Data.Semigroup` and `Control.Monad.Fail` and `Control.Monad.IO.Class` are available in base only since GHC 8.0 / base 4.9
108+ build-depends:
109+ semigroups >= 0.16.1 && < 0.19,
110+ transformers,
111+ fail == 4.9.*
113112
114113 if !impl(ghc >= 7.10)
115114 -- `Numeric.Natural` is available in base only since GHC 7.10 / base 4.8