ghc-7.0.1: The GHC API

CmmTx

Documentation

type Tx a = a -> TxRes aSource

data TxRes a Source

Constructors

TxRes ChangeFlag a 

Instances

seqTx :: Tx a -> Tx a -> Tx aSource

runTx :: Tx a -> a -> aSource

aTx :: a -> TxRes aSource

noTx :: a -> TxRes aSource

replaceTx :: a -> TxRes b -> TxRes aSource

txVal :: TxRes a -> aSource

plusTx :: (a -> b -> c) -> TxRes a -> TxRes b -> TxRes cSource

mapTx :: Tx a -> Tx [a]Source