diff --git a/src/Control/Monad/Catch.hs b/src/Control/Monad/Catch.hs index c787e07f7565c83176f650a87050687e082e485e..fc986ce88bc830520d746aeeeeab86d7d99e01e0 100644 --- a/src/Control/Monad/Catch.hs +++ b/src/Control/Monad/Catch.hs @@ -184,7 +184,7 @@ class MonadThrow m => MonadCatch m where -- error from the same layer, instances should ensure that the error from @g@ -- wins. -- --- Effects other than throwing an error are also overriden by the deeper layers. +-- Effects other than throwing an error are also overridden by the deeper layers. -- For example, @StateT s Maybe a@ represents a value of type @s -> Maybe (a, -- s)@, so if an error thrown from @f@ causes this function to return @Nothing@, -- any changes to the state which @f@ also performed will be erased. As a