ghc-7.6.2: The GHC API

Safe HaskellNone

ByteCodeItbls

Documentation

newtype ItblPtr Source

Constructors

ItblPtr (Ptr ()) 

Instances

data StgInfoTable Source

Constructors

StgInfoTable 

Fields

ptrs :: HalfWord
 
nptrs :: HalfWord
 
tipe :: HalfWord
 
srtlen :: HalfWord
 
code :: [ItblCode]
 

newtype State s m a Source

Constructors

State (s -> m (s, a)) 

Instances

Monad m => MonadT (State s) m 
Monad m => Monad (State s m) 

runState :: Monad m => s -> State s m a -> m (s, a)Source

evalState :: Monad m => s -> State s m a -> m aSource

execState :: Monad m => s -> State s m a -> m sSource

class (Monad m, Monad (t m)) => MonadT t m whereSource

Methods

lift :: m a -> t m aSource

Instances

Monad m => MonadT (State s) m