Hello, I only use the 'Binary' class when I don't care about the specifics of the serialization format, only that it be reasonably fast, compact and stable.
When I need to comply with some particular format I use the functions in Data.Binary.Builder and Data.Binary.Get directly. Sometimes I make my own Serialize/Deserialize classes if I think it will be helpful. But I do look at the source for the instances of the 'Binary' class for inspiration! Take care, Antoine On Wed, Jan 5, 2011 at 2:24 AM, Magicloud Magiclouds <[email protected]> wrote: > Hi, > I am using Data.Binary which defined "instance Binary a => Binary > [a]". Now I need to define "instance Binary [String]" to make > something special for string list. > How to make it work? I looked into the chapter of > overlappinginstances, nothing works. > -- > 竹密岂妨流水过 > 山高哪阻野云飞 > > _______________________________________________ > Haskell-Cafe mailing list > [email protected] > http://www.haskell.org/mailman/listinfo/haskell-cafe > _______________________________________________ Haskell-Cafe mailing list [email protected] http://www.haskell.org/mailman/listinfo/haskell-cafe
