summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2017-03-06 22:43:39 -0500
committerBen Gamari <ben@smart-cactus.org>2017-03-07 13:32:33 -0500
commit48759c0ef0e7ce718b52557599ebbb884c19a2ad (patch)
tree3977ef4a359344946e957cc27efdc9ace9264701
parent99fe579d8f952512ca00ba81683dd51a45a86245 (diff)
downloadhaskell-48759c0ef0e7ce718b52557599ebbb884c19a2ad.tar.gz
Fix comment
-rw-r--r--libraries/base/GHC/IO.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/libraries/base/GHC/IO.hs b/libraries/base/GHC/IO.hs
index 62b3d5c22e..8459db6b75 100644
--- a/libraries/base/GHC/IO.hs
+++ b/libraries/base/GHC/IO.hs
@@ -182,7 +182,7 @@ catch (IO io) handler = IO $ catch# io handler'
-- | Catch any 'Exception' type in the 'IO' monad.
--
-- Note that this function is /strict/ in the action. That is,
--- @catchException undefined b == _|_@. See #exceptions_and_strictness# for
+-- @catchAny undefined b == _|_@. See #exceptions_and_strictness# for
-- details.
catchAny :: IO a -> (forall e . Exception e => e -> IO a) -> IO a
catchAny !(IO io) handler = IO $ catch# io handler'