[Haskell-cafe] Data declaration vs type classes
Lian Hung Hon
hon.lianhung at gmail.com
Mon Jan 11 11:44:03 UTC 2016
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
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe