Re[2]: WinHugs bug: putChar (chr 255)
Bulat Ziganshin <[email protected]> Tue, 7 Feb 2006 17:23:22 +0300
| Newsgroups | gmane.comp.lang.haskell.hugs.user |
|---|---|
| Message-ID | <[email protected]> |
Hello Neil, Tuesday, February 07, 2006, 3:58:33 PM, you wrote: >> Main> putChar (chr 255) NM> The bug was all to do with char/int conversion, and 255 == -1 at a NM> char level, and Hugs checking for EOF on the result. A few char -> int NM> and it was all fine. we all guess that it the source of problem :) btw, how about reading chr(0) and chr(255)? i don't checked this... -- Best regards, Bulat mailto:[email protected]