Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Synopsis
- class (Applicative b, Applicative m, Monad b, Monad m) => MonadBase (b :: Type -> Type) (m :: Type -> Type) | m -> b where
- liftBase :: b α -> m α
- liftBaseDefault :: forall t b (m :: Type -> Type) α. (MonadTrans t, MonadBase b m) => b α -> t m α
Documentation
class (Applicative b, Applicative m, Monad b, Monad m) => MonadBase (b :: Type -> Type) (m :: Type -> Type) | m -> b where Source #
Instances
liftBaseDefault :: forall t b (m :: Type -> Type) α. (MonadTrans t, MonadBase b m) => b α -> t m α Source #