GaloisInc / json

Haskell JSON library
Other
27 stars 10 forks source link

Allow working with GHC HEAD #2

Closed ndmitchell closed 9 years ago

ndmitchell commented 9 years ago

The current version of JSON breaks with GHC head since now the applicative operators are exported from the Prelude. I fixed that by renaming the local operators slightly so they don't conflict. I had originally wanted to use CPP to get it working nicely, but that requires demanding a higher version of parsec and some careful GHC version switching. If anyone ever gives the package a thorough cleanup they probably want to do that, but this keeps it working for now and isn't too horrible.

At the same time I also added a .travis.yml file to test it with Travis on lots of GHC versions - see here to see them all passing. I also added a source-repo link, since I didn't find this repo the first time round.

yav commented 9 years ago

Thanks, Neil!

ndmitchell commented 9 years ago

Thanks for the merge. I noticed you changed the Cabal file to 0.9 but haven't made a release - could I get a release with this change in?

yav commented 9 years ago

Done! Sorry, I'd made the distribution file and everything, and forgot to upload it :-)