From 48759c0ef0e7ce718b52557599ebbb884c19a2ad Mon Sep 17 00:00:00 2001 From: Ben Gamari Date: Mon, 6 Mar 2017 22:43:39 -0500 Subject: Fix comment --- 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 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' -- cgit v1.2.1