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. isFCallId_maybe :: Id -> Maybe ForeignCall

    ghc GHC.Plugins

    No documentation available.

  2. isGReflCo_maybe :: Coercion -> Maybe (Type, Role)

    ghc GHC.Plugins

    Returns the type coerced if this coercion is a generalized reflexive coercion. Guaranteed to work very quickly.

  3. isPrimOpId_maybe :: Id -> Maybe PrimOp

    ghc GHC.Plugins

    No documentation available.

  4. isReflCoVar_maybe :: Var -> Maybe Coercion

    ghc GHC.Plugins

    No documentation available.

  5. isReflCo_maybe :: Coercion -> Maybe (Type, Role)

    ghc GHC.Plugins

    Returns the type coerced if this coercion is reflexive. Guaranteed to work very quickly. Sometimes a coercion can be reflexive, but not obviously so. c.f. isReflexiveCo_maybe

  6. isReflexiveCo_maybe :: Coercion -> Maybe (Type, Role)

    ghc GHC.Plugins

    Extracts the coerced type from a reflexive coercion. This potentially walks over the entire coercion, so avoid doing this in a loop.

  7. kindBoxedRepLevity_maybe :: Type -> Maybe Levity

    ghc GHC.Plugins

    Check whether a kind is of the form `TYPE (BoxedRep Lifted)` or `TYPE (BoxedRep Unlifted)`. Returns:

    • `Just Lifted` for `TYPE (BoxedRep Lifted)` and Type,
    • `Just Unlifted` for `TYPE (BoxedRep Unlifted)` and UnliftedType,
    • Nothing for anything else, e.g. `TYPE IntRep`, `TYPE (BoxedRep l)`, etc.

  8. kindRep_maybe :: HasDebugCallStack => Kind -> Maybe RuntimeRepType

    ghc GHC.Plugins

    Given a kind (TYPE rr) or (CONSTRAINT rr), extract its RuntimeRep classifier rr. For example, kindRep_maybe * = Just LiftedRep Returns Nothing if the kind is not of form (TYPE rr)

  9. levityType_maybe :: LevityType -> Maybe Levity

    ghc GHC.Plugins

    levityType_maybe takes a Type of kind Levity, and returns its levity May not be possible for a type variable or type family application

  10. lookupIdSubst_maybe :: HasDebugCallStack => Subst -> Id -> Maybe CoreExpr

    ghc GHC.Plugins

    No documentation available.

Page 135 of many | Previous | Next