ghc-8.8.0.20190613: The GHC API
Safe HaskellNone
LanguageHaskell2010

TcHsSyn

Synopsis

Extracting types from HsSyn

Other HsSyn functions

mkHsCaseAlt :: LPat (GhcPass p) -> Located (body (GhcPass p)) -> LMatch (GhcPass p) (Located (body (GhcPass p))) Source #

A simple case alternative with a single pattern, no binds, no guards; pre-typechecking

conLikeResTy :: ConLike -> [Type] -> Type Source #

Returns the type of the whole pattern

re-exported from TcMonad

type TcId = Id Source #

Zonking

For a description of "zonking", see Note [What is zonking?] in TcMType

data ZonkEnv Source #

See Note [The ZonkEnv] Confused by zonking? See Note [What is zonking?] in TcMType.

Instances

Instances details
Outputable ZonkEnv # 
Instance details

Defined in TcHsSyn

initZonkEnv :: (ZonkEnv -> a -> TcM b) -> a -> TcM b Source #