monad-skeleton-0.1.1: An undead monad

Safe HaskellTrustworthy
LanguageHaskell2010

Control.Monad.Skeleton

Documentation

data MonadView t m x where Source

Constructors

Return :: a -> MonadView t m a 
(:>>=) :: t a -> (a -> m b) -> MonadView t m b infixl 1 

hoistMonadView :: (forall x. s x -> t x) -> (m a -> n a) -> MonadView s m a -> MonadView t n a Source

bone :: t a -> Skeleton t a Source

hoistSkeleton :: (forall x. s x -> t x) -> Skeleton s a -> Skeleton t a Source