[Haskell-cafe] Data.List / Map: simple serialization?
limestrael at gmail.com
Thu Jun 9 09:41:21 CEST 2011
Binary should be pretty easy to use (and more advisable if you need
performance), since it defines the Binary instance for every basic type,
including of course Map.
I don't know about cereal, but I suppose it will be pretty much the same.
The major difference is that binary offers lazy serialization while cereal
2011/6/9 Ivan Lazar Miljenovic <ivan.miljenovic at gmail.com>
> On 9 June 2011 17:23, Dmitri O.Kondratiev <dokondr at gmail.com> wrote:
> > Hello,
> > Please advise on existing serialization libraries.
> > I need a simple way to serialize Data.List and Data.Map to plain text
> > files.
> Well, the obvious solution is to just use show and read... though if
> you want something more efficient, have a look at binary and cereal on
> Ivan Lazar Miljenovic
> Ivan.Miljenovic at gmail.com
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe