Wolfgang Jeltsch pushed to branch wip/jeltsch/closedness-check-documentation-fix at Glasgow Haskell Compiler / GHC
Commits:
-
a30d93fb
by Wolfgang Jeltsch at 2025-12-20T20:00:11+02:00
1 changed file:
Changes:
| ... | ... | @@ -480,7 +480,7 @@ hIsOpen handle = |
| 480 | 480 | SemiClosedHandle -> return False
|
| 481 | 481 | _ -> return True
|
| 482 | 482 | |
| 483 | --- | @'hIsOpen' hdl@ returns whether the handle is closed.
|
|
| 483 | +-- | @'hIsClosed' hdl@ returns whether the handle is closed.
|
|
| 484 | 484 | -- If the 'haType' of @hdl@ is 'ClosedHandle' this returns 'True'
|
| 485 | 485 | -- and 'False' otherwise.
|
| 486 | 486 | hIsClosed :: Handle -> IO Bool
|