Commit c090cfbe authored by Edward Kmett's avatar Edward Kmett

Removed the spurious Error constraint from MonadError e (Either e).

parent 9cc075cf
......@@ -97,7 +97,7 @@ instance MonadError IOException IO where
-- ---------------------------------------------------------------------------
-- Our parameterizable error monad
instance Error e => MonadError e (Either e) where
instance MonadError e (Either e) where
throwError = Left
Left l `catchError` h = h l
Right r `catchError` _ = Right r
......
name: mtl
version: 2.1.2
version: 2.1.3
cabal-version: >= 1.6
license: BSD3
license-file: LICENSE
......
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