GaloisInc / json

Haskell JSON library
Other
27 stars 10 forks source link

Correct `base` lower bound #14

Closed phadej closed 4 years ago

phadej commented 4 years ago

The Control.Monad.Fail is only in base since base-4.9. Fixes

Text/JSON.hs:48:18:
    Could not find module ‘Control.Monad.Fail’

Alternatively you could add a (conditional) dependency on fail

if !impl(ghc >= 8.0)
  build-depends:
    fail                 >= 4.9.0.0 && < 4.10

You might need to change the code too, I haven't tried that on json myself.


I'd also recommend to


I made a revision to released version on Hackage: https://hackage.haskell.org/package/json-0.10/revisions/ so the json-0.10 has now correct metadata.