ghc-8.6.4: The GHC API

Safe HaskellNone
LanguageHaskell2010

SimplMonad

Synopsis

Documentation

data SimplM result Source #

Instances
Monad SimplM # 
Instance details

Defined in SimplMonad

Methods

(>>=) :: SimplM a -> (a -> SimplM b) -> SimplM b Source #

(>>) :: SimplM a -> SimplM b -> SimplM b Source #

return :: a -> SimplM a Source #

fail :: String -> SimplM a Source #

Functor SimplM # 
Instance details

Defined in SimplMonad

Methods

fmap :: (a -> b) -> SimplM a -> SimplM b Source #

(<$) :: a -> SimplM b -> SimplM a Source #

Applicative SimplM # 
Instance details

Defined in SimplMonad

Methods

pure :: a -> SimplM a Source #

(<*>) :: SimplM (a -> b) -> SimplM a -> SimplM b Source #

liftA2 :: (a -> b -> c) -> SimplM a -> SimplM b -> SimplM c Source #

(*>) :: SimplM a -> SimplM b -> SimplM b Source #

(<*) :: SimplM a -> SimplM b -> SimplM a Source #

MonadIO SimplM # 
Instance details

Defined in SimplMonad

Methods

liftIO :: IO a -> SimplM a Source #

MonadUnique SimplM # 
Instance details

Defined in SimplMonad

HasDynFlags SimplM # 
Instance details

Defined in SimplMonad

class Monad m => MonadUnique m where Source #

A monad for generating unique identifiers

Minimal complete definition

getUniqueSupplyM

Methods

getUniqueSupplyM :: m UniqSupply Source #

Get a new UniqueSupply

getUniqueM :: m Unique Source #

Get a new unique identifier

getUniquesM :: m [Unique] Source #

Get an infinite list of new unique identifiers

Instances
MonadUnique UniqSM # 
Instance details

Defined in UniqSupply

MonadUnique CoreM # 
Instance details

Defined in CoreMonad

MonadUnique LlvmM # 
Instance details

Defined in LlvmCodeGen.Base

MonadUnique FCode # 
Instance details

Defined in StgCmmMonad

MonadUnique CmmParse # 
Instance details

Defined in StgCmmExtCode

MonadUnique SimplM # 
Instance details

Defined in SimplMonad

MonadUnique TcS # 
Instance details

Defined in TcSMonad

MonadUnique NatM # 
Instance details

Defined in NCGMonad

MonadUnique (IOEnv (Env gbl lcl)) # 
Instance details

Defined in TcRnMonad