codec
codec copied to clipboard
Compatibility with GHC 8
I would like to use codec (a very nice package), but have already made the transition to GHC 8 which this library is currently not compatible with.
The fix is to add a wildcard between vs and cs at L81 of Data.Codec.TH.
Interestingly, the latest template-haskell version is compatible with base-4.7 up to 4.9; unfortunately that only goes as far as GHC 7.8, whereas you currently support GHC 7.6 too.
The simplest way to remain compatible seems to be to use CPP.