ghc-lib-0.1.0: The GHC API, decoupled from GHC versions

Safe HaskellNone
LanguageHaskell2010

TcSigs

Documentation

data TcSigInfo #

Constructors

Instances
Instance details

Defined in TcRnTypes

Methods

ppr :: TcSigInfo -> SDoc #

pprPrec :: Rational -> TcSigInfo -> SDoc #

data TcIdSigInfo #

Constructors

Instances
Instance details

Defined in TcRnTypes

data TcIdSigInst #

Instances
Instance details

Defined in TcRnTypes

data TcPatSynInfo #

Constructors

Instances
Instance details

Defined in TcRnTypes

type TcSigFun = Name -> Maybe TcSigInfo #

isPartialSig :: TcIdSigInst -> Bool #

hasCompleteSig :: TcSigFun -> Name -> Bool #

No signature or a partial signature

tcIdSigName :: TcIdSigInfo -> Name Source #

tcSigInfoName :: TcSigInfo -> Name Source #

completeSigPolyId_maybe :: TcSigInfo -> Maybe TcId Source #

tcTySigs :: [LSig GhcRn] -> TcM ([TcId], TcSigFun) Source #

tcUserTypeSig :: SrcSpan -> LHsSigWcType GhcRn -> Maybe Name -> TcM TcIdSigInfo Source #

completeSigFromId :: UserTypeCtxt -> Id -> TcIdSigInfo Source #

tcInstSig :: TcIdSigInfo -> TcM TcIdSigInst Source #

type TcPragEnv = NameEnv [LSig GhcRn] Source #

emptyPragEnv :: TcPragEnv Source #

lookupPragEnv :: TcPragEnv -> Name -> [LSig GhcRn] Source #

extendPragEnv :: TcPragEnv -> (Name, LSig GhcRn) -> TcPragEnv Source #

mkPragEnv :: [LSig GhcRn] -> LHsBinds GhcRn -> TcPragEnv Source #

tcSpecPrags :: Id -> [LSig GhcRn] -> TcM [LTcSpecPrag] Source #

tcSpecWrapper :: UserTypeCtxt -> TcType -> TcType -> TcM HsWrapper Source #

tcImpPrags :: [LSig GhcRn] -> TcM [LTcSpecPrag] Source #

addInlinePrags :: TcId -> [LSig GhcRn] -> TcM TcId Source #

AltStyle によって変換されたページ (->オリジナル) /