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 is strict.

2011/6/9 Ivan Lazar Miljenovic <ivan.miljenovic@gmail.com>
On 9 June 2011 17:23, Dmitri O.Kondratiev <dokondr@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
Hackage.

--
Ivan Lazar Miljenovic
Ivan.Miljenovic@gmail.com
IvanMiljenovic.wordpress.com

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe