Commit f171b358 authored by Matthias Braun's avatar Matthias Braun Committed by Marge Bot

Fix typo in documentation of Base.hs.

parent a7a4efbf
Pipeline #13528 passed with stages
in 523 minutes and 8 seconds
......@@ -166,7 +166,7 @@ mapException f v = unsafePerformIO (catch (evaluate v)
-- | Similar to 'catch', but returns an 'Either' result which is
-- @('Right' a)@ if no exception of type @e@ was raised, or @('Left' ex)@
-- if an exception of type @e@ was raised and its value is @ex@.
-- If any other type of exception is raised than it will be propogated
-- If any other type of exception is raised then it will be propagated
-- up to the next enclosing exception handler.
-- > try a = catch (Right `liftM` a) (return . Left)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment