ghc-8.4.3: The GHC API

Safe HaskellNone
LanguageHaskell2010

NCGMonad

Documentation

data NatM result Source #

Instances
Monad NatM Source # 
Instance details

Defined in NCGMonad

Methods

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

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

return :: a -> NatM a #

fail :: String -> NatM a #

Functor NatM Source # 
Instance details

Defined in NCGMonad

Methods

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

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

Applicative NatM Source # 
Instance details

Defined in NCGMonad

Methods

pure :: a -> NatM a #

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

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

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

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

MonadUnique NatM Source # 
Instance details

Defined in NCGMonad

HasDynFlags NatM Source # 
Instance details

Defined in NCGMonad

CmmMakeDynamicReferenceM NatM Source # 
Instance details

Defined in PIC

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