| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
GHC.Tc.Gen.Sig
Documentation
Constructors
| TcIdSig TcIdSigInfo | |
| TcPatSynSig TcPatSynInfo |
data TcIdSigInfo #
Constructors
| CompleteSig | |
| PartialSig | |
Fields
| |
Instances
| Outputable TcIdSigInfo | |
Defined in GHC.Tc.Types | |
data TcIdSigInst #
Instances
| Outputable TcIdSigInst | |
Defined in GHC.Tc.Types | |
data TcPatSynInfo #
Constructors
| TPSI | |
Fields
| |
Instances
| Outputable TcPatSynInfo | |
Defined in GHC.Tc.Types | |
isPartialSig :: TcIdSigInst -> Bool #
hasCompleteSig :: TcSigFun -> Name -> Bool #
tcIdSigName :: TcIdSigInfo -> Name Source #
tcSigInfoName :: TcSigInfo -> Name Source #
tcUserTypeSig :: SrcSpan -> LHsSigWcType GhcRn -> Maybe Name -> TcM TcIdSigInfo Source #
completeSigFromId :: UserTypeCtxt -> Id -> TcIdSigInfo Source #
tcInstSig :: TcIdSigInfo -> TcM TcIdSigInst Source #
lookupPragEnv :: TcPragEnv -> Name -> [LSig GhcRn] 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 #