Open erikd opened 8 years ago
This fix is necessary for ghc-8.0 support, but not sufficient to make it compile against the current git HEAD of persistent
which has some siginificant changes to data types since the last release.
For yesod-persistent
@snoyberg has decided to use CPP
to make it work with both persistent < 2.5
and persistent == 2.5
. For example https://github.com/yesodweb/yesod/commit/d99de615547d0dd8bbc6f766b1749024403379a4 .
I'm happy to do the fixes, but I'd like you to make the decision on whether you to use CPP
to support a similar range of persistent
versions to yesod-persistent
or whether you just want to support persistent == 2.5
.
Ghc 8.0 ships with base 4.9.