ghc-7.4.2: The GHC API

Safe HaskellNone

CgMonad

Documentation

type Code = FCode ()Source

data FCode a Source

Instances

thenFC :: FCode a -> (a -> FCode c) -> FCode cSource

listFCs :: [FCode a] -> FCode [a]Source

mapCs :: (a -> Code) -> [a] -> CodeSource

mapFCs :: (a -> FCode b) -> [a] -> FCode [b]Source

fixC :: (a -> FCode a) -> FCode aSource

fixC_ :: (a -> FCode a) -> FCode ()Source

type CgStmts = OrdList CgStmtSource

forkAlts :: [FCode a] -> FCode [a]Source