twilight-stm-1.1: STM library with safe irrevocable I/O and inconsistency repair

Control.Concurrent.STM.Monadish

Synopsis

Documentation

class Monadish m whereSource

A parameterized monad

Methods

gret :: a -> m p p aSource

gbind :: m p q a -> (a -> m q r b) -> m p r bSource

Instances

Monad m => Monadish (MW m) 
Monadish (STM r) 

newtype MW m p q a Source

Inject regular monads to be monadish things too

Constructors

MW 

Fields

unMW :: m a
 

Instances

Monad m => Monadish (MW m)