On Tue, Jan 28, 2014 at 3:38 PM, Bryan O'Sullivan <[email protected]>wrote:
> Don't use a typeclass at all: just write encode and decode functions. Seems like a Codec class with such functions would be useful, perhaps analogous to the Binary class [1] but also suitable for textual encodings. Alvaro http://alva.ro [1] http://hackage.haskell.org/package/binary-0.7.1.0/docs/Data-Binary.html#t:Binary
_______________________________________________ Haskell mailing list [email protected] http://www.haskell.org/mailman/listinfo/haskell
