Relax build-deps to allow upcoming `array-0.5.0.0`
[packages/haskell98.git] / Monad.hs
1 #if __GLASGOW_HASKELL__ >= 701
2 {-# LANGUAGE Safe #-}
3 #endif
4
5 module Monad (
6 MonadPlus(mzero, mplus),
7 join, guard, when, unless, ap,
8 msum,
9 filterM, mapAndUnzipM, zipWithM, zipWithM_, foldM,
10 liftM, liftM2, liftM3, liftM4, liftM5,
11
12 -- ...and what the Prelude exports
13 Monad((>>=), (>>), return, fail),
14 Functor(fmap),
15 mapM, mapM_, sequence, sequence_, (=<<),
16 ) where
17
18 import Control.Monad