
23 Jan
2008
23 Jan
'08
2:19 p.m.
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.)
Ahh, good point. I guess I almost always just use them to read ASCII, so it hasn't been an issue. But for numeric types, I think this wouldn't be so much of an issue, since the format is more uniform. Chad