Control.Monad.Yield.Class
class Monad m => MonadYield (a :: Type) (m :: Type -> Type) | m -> a where Source #
Methods
yield :: a -> m () Source #
Defined in Control.Monad.Trans.Yield
yield :: a -> YieldT a m () Source #