11 Jan
2016
11 Jan
'16
7:44 p.m.
Dear all, Thanks for the opinions. I'll go with type classes for now, because as Miguel said, I want it to be open :) Regards, Hon On 8 January 2016 at 19:46, Imants Cekusins <imantc@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@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe