qforeign-0.65: Bzip2: problems with [Word8]
Michael Marte
marte@pms.informatik.uni-muenchen.de
Tue, 16 Oct 2001 20:12:16 +0200 (CEST)
Hello *,
I am just trying to catch up with the lastest developments.
From qforeign-0.64 to qforeign-0.65, some types were changed:
"Zlib and Bzip2 express byte lists as [Word8] instead of String."
But I need String -> String!
(Reading from a file, decompressing, and feeding it to the XML parser.)
How can I do this?
I found out that fromIntegral does the conversion from Word8 to Char
but I do not know how to convert from Char to Word8.
Since files are pretty large, the conversions should have no operational
impact.
Thanks,
Michael