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.

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

    ghc GHC.Tc.Utils.TcType

    No documentation available.

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

    ghc GHC.Tc.Utils.TcType

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

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

    ghc GHC.Tc.Utils.TcType

    No documentation available.

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

  5. tcTyConAppTyCon_maybe :: Type -> Maybe TyCon

    ghc GHC.Tc.Utils.TcType

    Like tcRepSplitTyConApp_maybe, but only returns the TyCon.

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

    ghc GHC.Tc.Zonk.Type

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

  7. setOverlapModeMaybe :: OverlapFlag -> Maybe OverlapMode -> OverlapFlag

    ghc GHC.Types.Basic

    No documentation available.

  8. tyConFlavourAssoc_maybe :: TyConFlavour tc -> Maybe tc

    ghc GHC.Types.Basic

    Get the enclosing class TyCon (if there is one) for the given TyConFlavour

  9. asJoinId_maybe :: Id -> JoinPointHood -> Id

    ghc GHC.Types.Id

    No documentation available.

  10. idCbvMarks_maybe :: Id -> Maybe [CbvMark]

    ghc GHC.Types.Id

    No documentation available.

Page 145 of many | Previous | Next