[Haskell] [ANN] yocto-0.1.2

Christopher Allen cma at bitemyapp.com
Tue Jan 28 20:53:05 UTC 2014


Are you bent on making it more elaborate/complicated than it needs to be?

Why not just keep it encode/decode?


On Tue, Jan 28, 2014 at 12:51 PM, Alvaro J. Genial <genial at alva.ro> wrote:

>
> On Tue, Jan 28, 2014 at 3:38 PM, Bryan O'Sullivan <bos at serpentine.com>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
>
>
>
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell/attachments/20140128/15492d2d/attachment.html>


More information about the Haskell mailing list