Simon Marlow wrote:

The only change to the existing behaviour is that by default, text IO
is done in the prevailing encoding of the system.  Handles created by
openBinaryFile use the Latin-1 encoding, as do Handles placed in
binary mode using hSetBinaryMode.

wouldn't be semantically correct for a "binary handle"
to "return" [Word8]?

also switching from text to binary (hSetBinaryMode)
doesn't seem "natural"

I understand that this has "heavy" consequences...

Pao

_______________________________________________
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Reply via email to