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. repGetTyVar_maybe :: Type -> Maybe TyVar

    ghc GHC.Core.Type

    Attempts to obtain the type variable underlying a Type, without any expansion

  2. runtimeRepLevity_maybe :: RuntimeRepType -> Maybe Levity

    ghc GHC.Core.Type

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

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

    ghc GHC.Core.Type

    No documentation available.

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

    ghc GHC.Core.Type

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

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

    ghc GHC.Core.Type

    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!

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

    ghc GHC.Core.Type

    No documentation available.

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

    ghc GHC.Core.Type

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

  8. splitForAllForAllTyBinder_maybe :: Type -> Maybe (ForAllTyBinder, Type)

    ghc GHC.Core.Type

    Attempts to take a ForAllTy apart, returning the full ForAllTyBinder

  9. splitForAllTyCoVar_maybe :: Type -> Maybe (TyCoVar, Type)

    ghc GHC.Core.Type

    Attempts to take a ForAllTy apart, returning the Var

  10. splitForAllTyVar_maybe :: Type -> Maybe (TyVar, Type)

    ghc GHC.Core.Type

    Attempts to take a ForAllTy apart, but only if the binder is a TyVar

Page 125 of many | Previous | Next