prowdsponsor / esqueleto

Bare bones, type-safe EDSL for SQL queries on persistent backends.
http://hackage.haskell.org/package/esqueleto
BSD 3-Clause "New" or "Revised" License
178 stars 51 forks source link

Compatibility with versions of Persistent both before and after 2.5. #150

Open tebello-thejane opened 8 years ago

tebello-thejane commented 8 years ago

The type signature changes were adapted from PR https://github.com/prowdsponsor/esqueleto/pull/149, with the addition of CPP for backward compatibility.

Solves issue https://github.com/prowdsponsor/esqueleto/issues/137.

tebello-thejane commented 8 years ago

For some reason if I use GHC and cabal-install in the .travis.yml file Travis-CI hangs on GHC 7.10.1 and up.

At least using Stackage LTS 1.* gives us the confidence that we can build on GHC 7.8.4 and up.

peti commented 8 years ago

It's probably a bad idea to mix up travis-ci related changes with this PR.