Hi,

> 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)

Fixed in the CVS version. Once I've got round to writing a build
script, I'll be able to release these fixes quicker as updates.

The bug was all to do with char/int conversion, and 255 == -1 at a
char level, and Hugs checking for EOF on the result. A few char -> int
and it was all fine.

Thanks

Neil
_______________________________________________
Hugs-Users mailing list
Hugs-Users@haskell.org
http://www.haskell.org/mailman/listinfo/hugs-users

Reply via email to