Hello ,
seems that WinHugs hates to do binary I/O :)))
Main> putChar (chr 255)
я
Program error: <stdout>: Prelude.putChar: does not exist (file does not exist)
the same problem in this program:
import System.IO
import Data.Char
main = do h <- openBinaryFile "test" WriteMode
hPutChar h (chr 255)
hPutChar h 'a' -- never executed
--
Best regards,
Bulat mailto:[EMAIL PROTECTED]
_______________________________________________
Hugs-Users mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/hugs-users