codec icon indicating copy to clipboard operation
codec copied to clipboard

Compatibility with GHC 8

Open Lysxia opened this issue 9 years ago • 0 comments

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.

Lysxia avatar Oct 09 '16 19:10 Lysxia