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

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


* Simon Hengel <sol at typeful.net> [2012-03-08 11:48:41+0100]
> On Thu, Mar 08, 2012 at 12:18:56PM +0200, Roman Cheplyaka wrote:
> > If it's fine to depend on FunDeps, you can use ListLike.
> > http://hackage.haskell.org/package/ListLike
> 
> How would that help with toText?

toText = fromListLike

(ListLike instance for Text is provided by the listlike-instances
package.)

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



More information about the Haskell-Cafe mailing list