Binary serialization with version control.

Latest on Hackage:0.10.3

See all snapshots safecopy appears in

LicenseRef-PublicDomain licensed by David Himmelstrup, Felipe Lessa
Maintained by Lemmih

Module documentation for

This version can be pinned in stack with:[email protected]:93c307d389f6948c4205fd0b675d25c293eb29769733a613839f49465d02843e,2456

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



  • 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.