UoYCS-plasma / LazySmallCheck2012

Lazy SmallCheck with functional values and existentials!
BSD 3-Clause "New" or "Revised" License
4 stars 2 forks source link

Changes for GHC 7.10 #13

Open Warbo opened 8 years ago

Warbo commented 8 years ago

Changes include:

Note: I have not tested this on other GHC versions.

jasonreich commented 8 years ago

Sounds good.

Travis CI build failed because it is pinned to 7.8. Could you please update .travis.yml as part of your pull request.

Thanks.

Warbo commented 8 years ago

Finally got the build to pass. Since the changes work around different template haskell types, I've used CPP to switch between them. Checking the template-haskell version in CPP seems to cause a syntax error with GCC's preprocessor, so I've made it check GHC's version instead.

I've kept Travis testing with 7.8, since it doesn't seem to have 7.10 available. I've tested this myself on NixOS using GHC 7.10 and 7.8.4.