monad-state-0.2.0.3: Utility library for monads, particularly those involving state.

Safe HaskellSafe-Inferred
LanguageHaskell2010

Control.Monad.Runnable

Synopsis

Documentation

class (Monad m, RunnableContainer (RunContainer m)) => MonadRunnable m where Source

Monads that can be run in the IO monad

Associated Types

type RunData m Source

type ConstructType m :: * -> * Source

type RunContainer m :: * -> * Source

Methods

run :: m a -> RunData m -> RunContainer m (ConstructType m a) Source

runData :: m (RunData m) Source

construct :: ConstructType m a -> m a Source