monad-skeleton-0.1.2: 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 

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

iterMV :: Monad m => (t a -> MonadView m t a) -> t a -> m a Source

bone :: t a -> Skeleton t a Source

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