diff options
Diffstat (limited to 'libraries/base/Control/Monad.hs')
-rw-r--r-- | libraries/base/Control/Monad.hs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libraries/base/Control/Monad.hs b/libraries/base/Control/Monad.hs index 8223ec73d1..433d176eb1 100644 --- a/libraries/base/Control/Monad.hs +++ b/libraries/base/Control/Monad.hs @@ -19,7 +19,8 @@ module Control.Monad -- * Functor and monad classes Functor(fmap) - , Monad((>>=), (>>), return, fail) + , Monad((>>=), (>>), return) + , MonadFail(fail) , MonadPlus(mzero, mplus) -- * Functions @@ -75,6 +76,7 @@ module Control.Monad , (<$!>) ) where +import Control.Monad.Fail ( MonadFail(fail) ) import Data.Foldable ( Foldable, sequence_, sequenceA_, msum, mapM_, foldlM, forM_ ) import Data.Functor ( void, (<$>) ) import Data.Traversable ( forM, mapM, traverse, sequence, sequenceA ) |