Binary serialization with version control.

Version on this page:0.8.5
LTS Haskell 11.1:
Stackage Nightly 2018-03-21:
Latest on Hackage:

See all snapshots safecopy appears in

PublicDomain licensed by David Himmelstrup, Felipe Lessa
Maintained by Lemmih

Module documentation for 0.8.5

There are no documented modules for this package.

An extension to Data.Serialize with built-in version control.



  • Support ghc-8.4.1
  • Travis config for ghc-8.2.1
  • SafeCopy instance for Data.List.NonEmpty.NonEmpty


  • fixed tests to work with QuickCheck-2.8.2
  • add SafeCopy instance for Word
  • updates for template-haskell 2.11
  • export some internal TH derivation helpers


This version changes the way Float and Double are serialized to a more compact format. Old data should be migrated automatically. As a result, however, the Float and Double data serialized by this version can not be read by older versions of safecopy.

This change originated as a modification to the way cereal 0.5 serializes Float and Double.

comments powered byDisqus