control-dsl-0.2.0.1: An alternative to monads

Safe HaskellSafe
LanguageHaskell2010

Control.Dsl.Monadic

Synopsis

Documentation

newtype Monadic m r a Source #

This Monadic keyword extracts the monadic value of a monadic expression.

Constructors

Monadic (m a) 
Instances
Monad m => PolyCont (Monadic m) (m b) a Source # 
Instance details

Defined in Control.Dsl.Monadic

Methods

runPolyCont :: Monadic m r' a -> (a -> m b) -> m b Source #