[Haskell-cafe] Type classes for converting to Text and String

Roman Cheplyaka roma at ro-che.info
Thu Mar 8 11:18:56 CET 2012


* Simon Hengel <sol at typeful.net> [2012-03-08 10:53:15+0100]
> When writing library code that should work with both String and Text I
> find my self repeatedly introducing classes like:
> [...]
> How do you guys deal with that?  Any thoughts?

If it's fine to depend on FunDeps, you can use ListLike.
http://hackage.haskell.org/package/ListLike

-- 
Roman I. Cheplyaka :: http://ro-che.info/



More information about the Haskell-Cafe mailing list