ANN: SerTH - A Binary serialization layer for Haskell

Einar Karttunen ekarttun at cs.helsinki.fi
Sat Apr 2 04:11:21 EST 2005


Hello

I have developed a small library for serializing Haskell datatypes in a
binary form. SerTH offers the following features:

* Binary serialization
* Using template haskell to derive serializer interfaces for each type wanted
* Support for cyclic structures
* Supports user defined serializers for types (just define the instance)
* Support for a limited kind of dynamically types serialization/deserialization
* BSD license

But has the following limitations:
- Only serializers for haskell98 datatypes can be inferred 
  (template haskell does not support reification of other types)
- Serialization format is not compressed
- Currently only works with GHC-6.4

http://www.cs.helsinki.fi/u/ekarttun/SerTH/

- Einar Karttunen


More information about the Libraries mailing list