acid-state / safecopy

An extension to Data.Serialize with built-in version control
60 stars 37 forks source link

Implement typeable-based default #65

Closed parsonsmatt closed 5 years ago

parsonsmatt commented 6 years ago

This PR implements a Typeable-based default implementation of errorTypeName for better error messages. This implementation uses CPP to preserve GHC < 7.2 compatibility.

Resolves #64

ddssff commented 6 years ago

Are we ok with dropping ghc-7.8 support? I am. The travis build is missing typeable instances.

lemmih commented 6 years ago

Fine by me.

parsonsmatt commented 6 years ago

If we're going to only support >=7.10 then I'll submit a PR without the CPP :)

ddssff commented 6 years ago

We should keep 7.10 - some people still use the ghcjs version based on it.

parsonsmatt commented 6 years ago

OK, it passes CI on GHC >=7.10 :) I regenerated the travis.yml with newer point versions as well (and the newer script), can revert that one if y'all want.