Hoogle Search

Within LTS Haskell 24.51 (ghc-9.10.3)

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

  1. runtimeRepLevity_maybe :: RuntimeRepType -> Maybe Levity

    ghc GHC.Plugins

    Check whether a type (usually of kind RuntimeRep) is lifted, unlifted, or unknown. Returns Nothing if the type isn't of kind RuntimeRep. `runtimeRepLevity_maybe rr` returns:

    • `Just Lifted` if rr is `LiftedRep :: RuntimeRep`
    • `Just Unlifted` if rr is definitely unlifted, e.g. IntRep
    • Nothing if not known (e.g. it's a type variable or a type family application).

  2. sORTKind_maybe :: Kind -> Maybe (TypeOrConstraint, Type)

    ghc GHC.Plugins

    No documentation available.

  3. setNominalRole_maybe :: Role -> Coercion -> Maybe CoercionN

    ghc GHC.Plugins

    Converts a coercion to be nominal, if possible. See Note [Role twiddling functions]

  4. splitAppCo_maybe :: Coercion -> Maybe (Coercion, Coercion)

    ghc GHC.Plugins

    Attempt to take a coercion application apart.

  5. splitAppTyNoView_maybe :: HasDebugCallStack => Type -> Maybe (Type, Type)

    ghc GHC.Plugins

    Does the AppTy split as in splitAppTy_maybe, but assumes that any coreView stuff is already done

  6. splitAppTy_maybe :: Type -> Maybe (Type, Type)

    ghc GHC.Plugins

    Attempt to take a type application apart, whether it is a function, type constructor, or plain type application. Note that type family applications are NEVER unsaturated by this!

  7. splitCastTy_maybe :: Type -> Maybe (Type, Coercion)

    ghc GHC.Plugins

    No documentation available.

  8. splitForAllCoVar_maybe :: Type -> Maybe (CoVar, Type)

    ghc GHC.Plugins

    Like splitForAllTyCoVar_maybe, but only returns Just if it is a covar binder.

  9. splitForAllCo_co_maybe :: Coercion -> Maybe (CoVar, ForAllTyFlag, ForAllTyFlag, Coercion, Coercion)

    ghc GHC.Plugins

    Like splitForAllCo_maybe, but only returns Just for covar binder

  10. splitForAllCo_maybe :: Coercion -> Maybe (TyCoVar, ForAllTyFlag, ForAllTyFlag, Coercion, Coercion)

    ghc GHC.Plugins

    No documentation available.

Page 142 of many | Previous | Next