ghc-8.0.2: The GHC API

Safe HaskellNone
LanguageHaskell2010

NCGMonad

Documentation

data NatM result Source #

Instances

Monad NatM # 

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 # 

Methods

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

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

Applicative NatM # 

Methods

pure :: a -> NatM a Source #

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

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

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

HasDynFlags NatM # 
CmmMakeDynamicReferenceM NatM # 

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