I'm getting the same behaviour - but I can't find anything in the library
report to say what the correct behaviour is.
I vaguely remember being told that a semiclosed handle is supposed to be
both open and closed (which isn't what Hugs does and isn't what you
were expecting) - but I can't find anything which says this explicitly.
Does anyone out there know what's supposed to happen?
Alastair
> [EMAIL PROTECTED] reports the following problem.
>
> Version: 1.4
> OS: Unix
> compiler:
> configuration:
> Expected behaviour:
> False <and text>
> Observed behaviour:
> True <and text>
>
> Transcript:
> :l IO
> hGetContents stdin >>= \s -> hIsOpen stdin >>= \b -> putStr (show b ++ s)
>
> Code: