Hoogle Search
Within LTS Haskell 24.39 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
tcSplitPredFunTy_maybe :: Type -> Maybe (PredType, Type)ghc-lib-parser GHC.Tc.Utils.TcType No documentation available.
tcSplitTyConApp_maybe :: HasDebugCallStack => Type -> Maybe (TyCon, [Type])ghc-lib-parser GHC.Tc.Utils.TcType tcSplitTyConApp_maybe splits a type constructor application into its type constructor and applied types. Differs from splitTyConApp_maybe in that it does *not* split types headed with (=>), as that's not a TyCon in the type-checker. Note that this may fail (in funTyConAppTy_maybe) in the case of a FunTy with an argument of unknown kind FunTy (e.g. `FunTy (a :: k) Int`, since the kind of a isn't of the form `TYPE rep`. This isn't usually a problem but may be temporarily the case during canonicalization: see Note [Decomposing FunTy] in GHC.Tc.Solver.Equality and Note [The Purely Kinded Type Invariant (PKTI)] in GHC.Tc.Gen.HsType, Wrinkle around FunTy Consequently, you may need to zonk your type before using this function.
tcTyConAppTyCon_maybe :: Type -> Maybe TyConghc-lib-parser GHC.Tc.Utils.TcType Like tcRepSplitTyConApp_maybe, but only returns the TyCon.
setOverlapModeMaybe :: OverlapFlag -> Maybe OverlapMode -> OverlapFlagghc-lib-parser GHC.Types.Basic No documentation available.
tyConFlavourAssoc_maybe :: TyConFlavour tc -> Maybe tcghc-lib-parser GHC.Types.Basic Get the enclosing class TyCon (if there is one) for the given TyConFlavour
asJoinId_maybe :: Id -> JoinPointHood -> Idghc-lib-parser GHC.Types.Id No documentation available.
idCbvMarks_maybe :: Id -> Maybe [CbvMark]ghc-lib-parser GHC.Types.Id No documentation available.
idLFInfo_maybe :: Id -> Maybe LambdaFormInfoghc-lib-parser GHC.Types.Id No documentation available.
idTagSig_maybe :: Id -> Maybe TagSigghc-lib-parser GHC.Types.Id No documentation available.
isClassOpId_maybe :: Id -> Maybe Classghc-lib-parser GHC.Types.Id No documentation available.