Home
last modified time | relevance | path

Searched defs:MonadT (Results 1 – 2 of 2) sorted by relevance

/dports/devel/hs-haskell-language-server/haskell-language-server-1.4.0/_cabal_deps/ghc-exactprint-0.6.4/tests/examples/ghc80/
H A DMonadT.hs16 class MonadT t where constructor
27 class MonadT t => FMonadT t where constructor
/dports/security/hs-cryptol/cryptol-2.11.0/_cabal_deps/monadLib-3.10/src/
H A DMonadLib.hs225 class MonadT t where constructor
234 instance MonadT IdT where lift m = IT m function
235 instance MonadT (ReaderT i) where lift m = R (\_ -> m) function
236 instance MonadT (StateT i) where lift m = S (\s -> liftM (\a -> (a,s)) m) function
238 => MonadT (WriterT i) where lift m = W (liftM (\a -> P a mempty) m) function
239 instance MonadT (ExceptionT i) where lift m = X (liftM Right m) function
240 instance MonadT ChoiceT where lift m = ChoiceEff (liftM Answer m) function
241 instance MonadT (ContT i) where lift m = C (\k -> m >>= k) function