Wolfgang Jeltsch pushed to branch wip/jeltsch/closedness-check-documentation-fix at Glasgow Haskell Compiler / GHC

Commits:

1 changed file:

Changes:

  • libraries/ghc-internal/src/GHC/Internal/IO/Handle.hs
    ... ... @@ -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