fft1976:
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.

Tim Newsham
http://www.thenewsh.com/~newsham/
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to