Hoogle Search
Within LTS Haskell 24.32 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
tcSplitIOType_maybe :: Type -> Maybe (TyCon, Type)ghc GHC.Tc.Utils.TcType No documentation available.
tcSplitPiTy_maybe :: Type -> Maybe (PiTyVarBinder, Type)ghc GHC.Tc.Utils.TcType Splits a type into a PiTyVarBinder and a body, if possible.
tcSplitPredFunTy_maybe :: Type -> Maybe (PredType, Type)ghc GHC.Tc.Utils.TcType No documentation available.
tcSplitTyConApp_maybe :: HasCallStack => Type -> Maybe (TyCon, [Type])ghc 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 GHC.Tc.Utils.TcType Like tcRepSplitTyConApp_maybe, but only returns the TyCon.
unpackCoercionHole_maybe :: CoercionHole -> TcM (Maybe Coercion)ghc GHC.Tc.Zonk.Type Retrieve the contents of a coercion hole, if it is filled
setOverlapModeMaybe :: OverlapFlag -> Maybe OverlapMode -> OverlapFlagghc GHC.Types.Basic No documentation available.
tyConFlavourAssoc_maybe :: TyConFlavour tc -> Maybe tcghc GHC.Types.Basic Get the enclosing class TyCon (if there is one) for the given TyConFlavour
asJoinId_maybe :: Id -> JoinPointHood -> Idghc GHC.Types.Id No documentation available.
idCbvMarks_maybe :: Id -> Maybe [CbvMark]ghc GHC.Types.Id No documentation available.