ghc-lib-9.4.5.20230430: The GHC API, decoupled from GHC versions
Safe HaskellSafe-Inferred
LanguageHaskell2010

GHC.Rename.Pat

Documentation

data CpsRn b Source #

Instances

Instances details
Applicative CpsRn Source # 
Instance details

Defined in GHC.Rename.Pat

Methods

pure :: a -> CpsRn a #

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

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

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

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

Functor CpsRn Source # 
Instance details

Defined in GHC.Rename.Pat

Methods

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

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

Monad CpsRn Source # 
Instance details

Defined in GHC.Rename.Pat

Methods

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

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

return :: a -> CpsRn a #

liftCpsWithCont :: (forall r. (b -> RnM (r, FreeVars)) -> RnM (r, FreeVars)) -> CpsRn b Source #

rnLit :: HsLit p -> RnM () Source #