[Haskell-cafe] Converting [Word8] to String

Tomasz Zielonka tomasz.zielonka at gmail.com
Tue Oct 4 02:00:22 EDT 2005

On 10/2/05, Joel Reymont <joelr1 at gmail.com> wrote:
> Folks,
> How do I convert a list of bytes to a string?

I assume you don't care about Unicode:

map (Char.chr . fromIntegral)


map (toEnum . fromEnum)

Best regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org//pipermail/haskell-cafe/attachments/20051004/cf041947/attachment-0001.htm

More information about the Haskell-Cafe mailing list