[Haskell-cafe] Re: [Haskell] reading from stdin

Reinier Lamers reinier.lamers at phil.uu.nl
Fri Oct 5 03:30:56 EDT 2007

Axel Simon wrote:

>a) is the behaviour I want, but unfortunately for platform d)
>b) must be due to ghci and Hugs having different opinions on whether
>stdin should be line buffered or unbuffered
>c) this is weird
>d) this is broken
You can probably unify the behaviors of platforms a, b and c by calling 
hSetBuffering on stdin to turn off  buffering.


More information about the Haskell-Cafe mailing list