ghc-lib-8.8.1.20210620: The GHC API, decoupled from GHC versions
Safe HaskellNone
LanguageHaskell2010

SimplMonad

Synopsis

Documentation

data SimplM result Source #

Instances

Instances details
Monad SimplM Source # 
Instance details

Defined in SimplMonad

Methods

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

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

return :: a -> SimplM a #

Functor SimplM Source # 
Instance details

Defined in SimplMonad

Methods

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

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

Applicative SimplM Source # 
Instance details

Defined in SimplMonad

Methods

pure :: a -> SimplM a #

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

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

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

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

MonadIO SimplM Source # 
Instance details

Defined in SimplMonad

Methods

liftIO :: IO a -> SimplM a #

HasDynFlags SimplM Source # 
Instance details

Defined in SimplMonad

MonadUnique SimplM Source # 
Instance details

Defined in SimplMonad

class Monad m => MonadUnique (m :: Type -> Type) where #

A monad for generating unique identifiers

Minimal complete definition

getUniqueSupplyM

Methods

getUniqueSupplyM :: m UniqSupply #

Get a new UniqueSupply

getUniqueM :: m Unique #

Get a new unique identifier

getUniquesM :: m [Unique] #

Get an infinite list of new unique identifiers

Instances

Instances details
MonadUnique CoreM 
Instance details

Defined in CoreMonad

MonadUnique UniqSM 
Instance details

Defined in UniqSupply

MonadUnique SimplM Source # 
Instance details

Defined in SimplMonad

MonadUnique LiftM Source # 
Instance details

Defined in StgLiftLams.LiftM

MonadUnique FCode Source # 
Instance details

Defined in StgCmmMonad

MonadUnique CmmParse Source # 
Instance details

Defined in StgCmmExtCode

MonadUnique LlvmM Source # 
Instance details

Defined in LlvmCodeGen.Base

MonadUnique TcS Source # 
Instance details

Defined in TcSMonad

MonadUnique NatM Source # 
Instance details

Defined in NCGMonad

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

Defined in TcRnMonad

Methods

getUniqueSupplyM :: IOEnv (Env gbl lcl) UniqSupply #

getUniqueM :: IOEnv (Env gbl lcl) Unique #

getUniquesM :: IOEnv (Env gbl lcl) [Unique] #