[Haskell-cafe] Abstracting ByteStrings

David Menendez dave at zednenem.com
Wed Jan 23 13:27:18 EST 2008


On Jan 22, 2008 6:19 PM, Chad Scherrer <chad.scherrer at gmail.com> wrote:

> A lazy ByteString is an alternative to a String=[Char]


Careful. ByteString is an alternative to [Word8]. Converting [Char] to
ByteString and back requires an encoding. (Unfortunately, the only encoding
that comes with the bytestring package is lossy.)

-- 
Dave Menendez <dave at zednenem.com>
<http://www.eyrie.org/~zednenem/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20080123/59344eff/attachment.htm


More information about the Haskell-Cafe mailing list