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. isFilledMetaTyVar_maybe :: TcTyVar -> TcM (Maybe Type)

    ghc GHC.Tc.Utils.TcMType

    No documentation available.

  2. readExpType_maybe :: MonadIO m => ExpType -> m (Maybe TcType)

    ghc GHC.Tc.Utils.TcMType

    Extract a type out of an ExpType, if one exists. But one should always exist. Unless you're quite sure you know what you're doing.

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

    ghc GHC.Tc.Utils.TcMType

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

  4. anyTy_maybe :: Type -> Maybe Kind

    ghc GHC.Tc.Utils.TcType

    Check whether the type is of the form Any :: k, returning the kind k.

  5. checkingExpType_maybe :: ExpType -> Maybe TcType

    ghc GHC.Tc.Utils.TcType

    Returns the expected type when in checking mode.

  6. getCastedTyVar_maybe :: Type -> Maybe (TyVar, CoercionN)

    ghc GHC.Tc.Utils.TcType

    If the type is a tyvar, possibly under a cast, returns it, along with the coercion. Thus, the co is :: kind tv ~N kind ty

  7. getTyVar_maybe :: Type -> Maybe TyVar

    ghc GHC.Tc.Utils.TcType

    Attempts to obtain the type variable underlying a Type

  8. isConcreteTyVarTy_maybe :: TcType -> Maybe (TcTyVar, ConcreteTvOrigin)

    ghc GHC.Tc.Utils.TcType

    Is this type a concrete type variable? If so, return the associated TcTyVar and ConcreteTvOrigin.

  9. isConcreteTyVar_maybe :: TcTyVar -> Maybe ConcreteTvOrigin

    ghc GHC.Tc.Utils.TcType

    Is this type variable a concrete type variable, i.e. it is a metavariable with ConcreteTv MetaInfo? Returns the ConcreteTvOrigin stored in the type variable if so, or Nothing otherwise.

  10. metaTyVarTcLevel_maybe :: TcTyVar -> Maybe TcLevel

    ghc GHC.Tc.Utils.TcType

    No documentation available.

Page 144 of many | Previous | Next