[Haskell-cafe] class Bytestringable or ToBytestring
silvio.frischi at gmail.com
Fri Nov 23 09:19:29 CET 2012
i recently found the convertible package
convert :: Convertible a b => a -> b
I've only used it once but it looks good to me.
sure the type checker does not guartantee that you get a ByteString back but
if you only use your own types where you write all the instances yourself you
should be safe.
More information about the Haskell-Cafe