Safe Haskell | None |
---|---|
Language | Haskell2010 |
- data TcSigInfo
- data TcIdSigInfo
- = CompleteSig { }
- | PartialSig { }
- data TcIdSigInst
- data TcPatSynInfo = TPSI {}
- type TcSigFun = Name -> Maybe TcSigInfo
- isPartialSig :: TcIdSigInst -> Bool
- noCompleteSig :: Maybe TcSigInfo -> Bool
- tcIdSigName :: TcIdSigInfo -> Name
- tcSigInfoName :: TcSigInfo -> Name
- completeSigPolyId_maybe :: TcSigInfo -> Maybe TcId
- tcTySigs :: [LSig Name] -> TcM ([TcId], TcSigFun)
- tcUserTypeSig :: SrcSpan -> LHsSigWcType Name -> Maybe Name -> TcM TcIdSigInfo
- completeSigFromId :: UserTypeCtxt -> Id -> TcIdSigInfo
- tcInstSig :: TcIdSigInfo -> TcM TcIdSigInst
- type TcPragEnv = NameEnv [LSig Name]
- emptyPragEnv :: TcPragEnv
- lookupPragEnv :: TcPragEnv -> Name -> [LSig Name]
- extendPragEnv :: TcPragEnv -> (Name, LSig Name) -> TcPragEnv
- mkPragEnv :: [LSig Name] -> LHsBinds Name -> TcPragEnv
- tcSpecPrags :: Id -> [LSig Name] -> TcM [LTcSpecPrag]
- tcSpecWrapper :: UserTypeCtxt -> TcType -> TcType -> TcM HsWrapper
- tcImpPrags :: [LSig Name] -> TcM [LTcSpecPrag]
- addInlinePrags :: TcId -> [LSig Name] -> TcM TcId
Documentation
data TcIdSigInfo Source #
data TcIdSigInst Source #
data TcPatSynInfo Source #
TPSI | |
|
isPartialSig :: TcIdSigInst -> Bool Source #
tcIdSigName :: TcIdSigInfo -> Name Source #
tcSigInfoName :: TcSigInfo -> Name Source #
tcUserTypeSig :: SrcSpan -> LHsSigWcType Name -> Maybe Name -> TcM TcIdSigInfo Source #
completeSigFromId :: UserTypeCtxt -> Id -> TcIdSigInfo Source #
tcInstSig :: TcIdSigInfo -> TcM TcIdSigInst Source #
tcSpecPrags :: Id -> [LSig Name] -> TcM [LTcSpecPrag] Source #
tcSpecWrapper :: UserTypeCtxt -> TcType -> TcType -> TcM HsWrapper Source #
tcImpPrags :: [LSig Name] -> TcM [LTcSpecPrag] Source #