Sigbjorn explains: > The rationale that came with the Haskell 1.3 I/O proposal had some > stuff about this, as it defined the derived operation `hIsSemiClosed': > > hIsSemiClosed :: Handle -> IO Bool > hIsSemiClosed h = hIsOpen h >>= \ ho -> > hIsClosed h >>= \ hc -> > return (not (ho || hc)) > > i.e., False should be returned for both `hIsOpen' and `hIsClosed' > on semi-closed handles (which is what ghc's implementation of IO > does.) Thanks, fixed in the next release. Alastair
- Hugs Bug report nobody
- Re: Hugs Bug report Alastair Reid
- Hugs Bug report nobody
- Re: Hugs Bug report Alastair Reid
- Hugs Bug report nobody
- Re: Hugs Bug report Alastair Reid
- Re: Hugs Bug report Alastair Reid
- Re: Hugs Bug report Catarina Coquand
- Re: Hugs Bug report Alastair Reid
- Re: Hugs Bug report Sigbjorn Finne
- Hugs Bug report Alastair Reid
- Hugs Bug report nobody
- Hugs Bug report nobody
- Re: Hugs Bug report Alastair Reid
- Hugs Bug report nobody
- Re: Hugs Bug report Alastair Reid
- Hugs Bug report nobody
- Re: Hugs Bug report Red Hat Linux User
- Hugs Bug report nobody
- Re: Hugs Bug report Alastair Reid
- Hugs Bug report nobody
