[commit: ghc] master: Fix comment (48759c0)
git at git.haskell.org
git at git.haskell.org
Tue Mar 7 18:32:54 UTC 2017
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/48759c0ef0e7ce718b52557599ebbb884c19a2ad/ghc
>---------------------------------------------------------------
commit 48759c0ef0e7ce718b52557599ebbb884c19a2ad
Author: Ben Gamari <ben at smart-cactus.org>
Date: Mon Mar 6 22:43:39 2017 -0500
Fix comment
>---------------------------------------------------------------
48759c0ef0e7ce718b52557599ebbb884c19a2ad
libraries/base/GHC/IO.hs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libraries/base/GHC/IO.hs b/libraries/base/GHC/IO.hs
index 62b3d5c..8459db6 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 == _|_ at . See #exceptions_and_strictness# for
+-- @catchAny undefined b == _|_ at . 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'
More information about the ghc-commits
mailing list