Hoogle Search

Within LTS Haskell 24.36 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. tcSplitAppTyNoView_maybe :: Type -> Maybe (Type, Type)

    ghc GHC.Tc.Utils.TcType

    Just like splitAppTyNoView_maybe, but does not split (c => t) See Note [Decomposing fat arrow c=>t]

  2. tcSplitAppTy_maybe :: Type -> Maybe (Type, Type)

    ghc GHC.Tc.Utils.TcType

    No documentation available.

  3. tcSplitForAllTyVarBinder_maybe :: Type -> Maybe (TyVarBinder, Type)

    ghc GHC.Tc.Utils.TcType

    No documentation available.

  4. tcSplitFunTy_maybe :: Type -> Maybe (Scaled Type, Type)

    ghc GHC.Tc.Utils.TcType

    No documentation available.

  5. tcSplitIOType_maybe :: Type -> Maybe (TyCon, Type)

    ghc GHC.Tc.Utils.TcType

    No documentation available.

  6. tcSplitPiTy_maybe :: Type -> Maybe (PiTyVarBinder, Type)

    ghc GHC.Tc.Utils.TcType

    Splits a type into a PiTyVarBinder and a body, if possible.

  7. tcSplitPredFunTy_maybe :: Type -> Maybe (PredType, Type)

    ghc GHC.Tc.Utils.TcType

    No documentation available.

  8. 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.

  9. tcTyConAppTyCon_maybe :: Type -> Maybe TyCon

    ghc GHC.Tc.Utils.TcType

    Like tcRepSplitTyConApp_maybe, but only returns the TyCon.

  10. unpackCoercionHole_maybe :: CoercionHole -> TcM (Maybe Coercion)

    ghc GHC.Tc.Zonk.Type

    Retrieve the contents of a coercion hole, if it is filled

Page 145 of many | Previous | Next