[Haskell-cafe] binary serialization
newsham at lava.net
Thu Mar 5 00:55:20 EST 2009
>> Is there a way to do binary serialization of Haskell values (in GHC,
>> at least)? If you propose a method, what are its type safety and
>> portability properties?
> There are many ways. See Data.Binary (fast, portable). Most are type
> safe, or additional safety can be added.
I would add to that: Data.Derive can be used to automatically
generate Data.Binary.Binary instances for your custom data types.
More information about the Haskell-Cafe