Data.ByteString candidate 3

Ashley Yakeley ashley at semantic.org
Wed Apr 26 15:55:13 EDT 2006


Donald Bruce Stewart wrote:

> Ok, here's what I've done:
>     http://www.cse.unsw.edu.au/~dons/fps/new/

> The code has been partioned into:
>     Data.ByteString         a Word8 only layer. All functions are in terms of Word8

Do the file-handling Word8 functions always work correctly, or do they 
do some kind of round-trip Char conversion? We've needed Word8 file 
access, so this would be very helpful. For instance:

  writeFile "myfile" (pack [0..255])

This should always write exactly the bytes 0 to 255, with no 
text-related weirdness such as charset remapping or newline conversion.

-- 
Ashley Yakeley, Seattle WA
WWEWDD? http://www.cs.utexas.edu/users/EWD/



More information about the Libraries mailing list