ghc-9.12: The GHC API
Safe HaskellNone
LanguageGHC2021

GHC.Rename.Pat

Synopsis

Documentation

rnHsRecUpdFields :: [LHsRecUpdField GhcPs GhcPs] -> RnM (XLHsRecUpdLabels GhcRn, [LHsRecUpdField GhcRn GhcRn], FreeVars) Source #

Rename a regular (non-overloaded) record field update, disambiguating the fields if necessary.

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 #