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 Fix the documentation of `hIsClosed` - - - - - 1 changed file: - libraries/ghc-internal/src/GHC/Internal/IO/Handle.hs Changes: ===================================== libraries/ghc-internal/src/GHC/Internal/IO/Handle.hs ===================================== @@ -480,7 +480,7 @@ hIsOpen handle = SemiClosedHandle -> return False _ -> return True --- | @'hIsOpen' hdl@ returns whether the handle is closed. +-- | @'hIsClosed' hdl@ returns whether the handle is closed. -- If the 'haType' of @hdl@ is 'ClosedHandle' this returns 'True' -- and 'False' otherwise. hIsClosed :: Handle -> IO Bool View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/a30d93fb21509b63557cd2436efeb30f... -- View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/a30d93fb21509b63557cd2436efeb30f... You're receiving this email because of your account on gitlab.haskell.org.