Re: WinHugs bug: putChar (chr 255)
Ross Paterson <[email protected]> Mon, 6 Feb 2006 12:35:07 +0000
| Newsgroups | gmane.comp.lang.haskell.hugs.user |
|---|---|
| Message-ID | <[email protected]> |
On Mon, Feb 06, 2006 at 12:28:06PM +0000, Neil Mitchell wrote: > > In the underlying C API, (char)255 == (char)-1 == EOF. > > Regards, > > Malcolm > > But I think the underlying C API is actually int, and char 255 is a > Unicode char. Anyway, I should be able to make some progress on it in > the next few days. The example works fine under Unix, BTW.