ghc-8.6.4: The GHC API

Safe HaskellNone
LanguageHaskell2010

NCGMonad

Documentation

data NatM result Source #

Instances
Monad NatM # 
Instance details

Defined in NCGMonad

Methods

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

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

return :: a -> NatM a Source #

fail :: String -> NatM a Source #

Functor NatM # 
Instance details

Defined in NCGMonad

Methods

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

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

Applicative NatM # 
Instance details

Defined in NCGMonad

Methods

pure :: a -> NatM a Source #

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

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

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

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

MonadUnique NatM # 
Instance details

Defined in NCGMonad

HasDynFlags NatM # 
Instance details

Defined in NCGMonad

CmmMakeDynamicReferenceM NatM # 
Instance details

Defined in PIC

mapAccumLNat :: (acc -> x -> NatM (acc, y)) -> acc -> [x] -> NatM (acc, [y]) Source #