Re: WinHugs bug: putChar (chr 255)
Neil Mitchell <[email protected]> Tue, 7 Feb 2006 12:58:33 +0000
| Newsgroups | gmane.comp.lang.haskell.hugs.user |
|---|---|
| Message-ID | <[email protected]> |
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 [email protected] http://www.haskell.org/mailman/listinfo/hugs-users