[Hugs-users] WinHugs bug: putChar (chr 255)

Ross Paterson ross at soi.city.ac.uk
Mon Feb 6 07:35:07 EST 2006


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.



More information about the Hugs-Users mailing list