[Haskell] How to read one char from stdin and return immediately?

Haihua Lin HaihuaLin at 163.com
Fri Aug 18 08:22:43 EDT 2006


I just tried. It works.
Sorry for my mistake. Thanks.

>
>Hi
>
>>          hSetBuffering stdout NoBuffering
>
>Try hSetBuffering stdin NoBuffering, since its stdin you are reading from.
>
>Thanks
>
>Neil
>




More information about the Haskell mailing list