Plan 9 from Bell Labs’s /usr/web/sources/contrib/fernan/nhc98/src/prelude/Monad/Monad.hs

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


module Monad
  ( MonadPlus(mzero,mplus)
  , join, guard, unless, when, ap
  , msum
  , filterM, mapAndUnzipM, zipWithM, zipWithM_, foldM
  , liftM, liftM2, liftM3, liftM4, liftM5

  -- ... and what the Prelude exports
  , Monad((>>=), (>>), return, fail)
  , Functor(fmap)
  , mapM, mapM_, sequence, sequence_, (=<<)
  ) where

import CMonadPlus
import MonadPlus_Maybe
import MonadPlus_List
import Join
import Guard
import Unless
import When
import Ap
import Msum
import FilterM
import MapAndUnzipM
import ZipWithM
import ZipWithM_
import FoldM
import LiftM
import LiftM2
import LiftM3
import LiftM4
import LiftM5


Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to [email protected].