Commit 7e7defd8 authored by Edward Kmett's avatar Edward Kmett

2.1.3.1: build without warnings on GHC 7.8

parent 6dbbf1d8
2.1.3.1
-------
* Avoid importing `Control.Monad.Instances` on GHC 7.8 to build without deprecation warnings.
2.1.3
-----
* Removed the now-irrelevant `Error` constraint from the `MonadError` instance for `Either e`.
{-# LANGUAGE CPP #-}
{- |
Module : Control.Monad.Error
Copyright : (c) Michael Weber <michael.weber@post.rwth-aachen.de> 2001,
......@@ -54,7 +55,10 @@ import Control.Monad.Trans.Error (ErrorT(..), mapErrorT)
import Control.Monad
import Control.Monad.Fix
#if defined(__GLASGOW_HASKELL__) && __GLASGOW_HASKELL__ < 707
import Control.Monad.Instances ()
#endif
{- $customErrorExample
Here is an example that demonstrates the use of a custom 'Error' data type with
......
{-# LANGUAGE CPP #-}
{-# LANGUAGE UndecidableInstances #-}
{- |
......@@ -55,7 +56,11 @@ import Control.Monad.Trans.Writer.Strict as StrictWriter
import Control.Monad.Trans.Class (lift)
import Control.Exception (IOException, catch, ioError)
import Control.Monad
#if defined(__GLASGOW_HASKELL__) && __GLASGOW_HASKELL__ < 707
import Control.Monad.Instances ()
#endif
import Data.Monoid
import Prelude (Either(..), (.), IO)
......
name: mtl
version: 2.1.3
version: 2.1.3.1
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