Donald, Shae, and Bulat, It sounds like Binary is the right tool for this job. Thanks for all of your helpful suggestions. - Matt On Dec 7, 2005, at 8:36 AM, Bulat Ziganshin wrote:
Hello Matthew,
Wednesday, December 07, 2005, 5:28:42 AM, you wrote:
MMM> I have some program data that I'd like to persist. I could just
there is 3 binary serialization packages for GHC:
1) GhcBinary, which is most widely used (including GHC compiler itself) and is close to be "standard de-facto"
2) SerTH (http://www.cs.helsinki.fi/u/ekarttun/SerTH/ SerTH-0.2.tar.gz), which unique seling points are serialization of cyclic datastructures and automatic derivation of serialization code for your data types using Template Haskell
3) my own ByteStream (http://freearc.narod.ru), which is oriented toward fast working and using non-trivial i/o methods (in my own program serialized data are sent to another thread which compress them with gzip-like algorithm)
is it what you asked for?
-- Best regards, Bulat mailto:bulatz@HotPOP.com