Disclaimer: I have never used Acid-state. But I know how to read documents :)
Data.SafeCopy docs talk about deriveSafeCopy
:
Fetch a SafeCopy instance.
Absolutely straight, really. You get an instance of the class.
The docs talk about SafeCopy
typeclass:
The central part of this library. Defines the version for the data type along with how it should be serialized / parsed.
So you go. This command apparently gets some (de) serialization functions that let you store your data type. "Safely".
source share