ghc-9.14.0.20251128: The GHC API
Safe HaskellNone
LanguageGHC2021

GHC.Tc.Gen.Sig

Synopsis

Documentation

data TcSigInfo #

Instances

Instances details
Outputable TcSigInfo # 
Instance details

Defined in GHC.Tc.Types.BasicTypes

Methods

ppr :: TcSigInfo -> SDoc #

data TcIdSig #

Instances

Instances details
Outputable TcIdSig # 
Instance details

Defined in GHC.Tc.Types.BasicTypes

Methods

ppr :: TcIdSig -> SDoc #

hasCompleteSig :: TcSigFun -> Name -> Bool #

No signature or a partial signature

isCompleteHsSig :: LHsSigWcType GhcRn -> Bool #

If there are no wildcards, return a LHsSigWcType

lhsSigWcTypeContextSpan :: LHsSigWcType GhcRn -> ReportRedundantConstraints #

Find the location of the top-level context of a HsType. For example:

  forall a b. (Eq a, Ord b) => blah
              ^^^^^^^^^^^^^

If there is none, return Nothing