[Haskell-cafe] Data declaration vs type classes

Lian Hung Hon hon.lianhung at gmail.com
Mon Jan 11 11:44:03 UTC 2016

Dear all,

Thanks for the opinions. I'll go with type classes for now, because as
Miguel said, I want it to be open :)


On 8 January 2016 at 19:46, Imants Cekusins <imantc at gmail.com> wrote:

> > you convert String or Text: what encoding would you use?
> let's say, this is very specific conversion where newtypes are used a
> lot. There are many different formats for Int (even the same type of
> int), String may be ascii, UTF8, ISO-..., you name it.
> using class does not make a difference re: type definition in this case.
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20160111/5e80355c/attachment.html>

More information about the Haskell-Cafe mailing list