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. expandUnfolding_maybe :: Unfolding -> Maybe CoreExpr

    ghc GHC.Core

    No documentation available.

  2. getCoVar_maybe :: Coercion -> Maybe CoVar

    ghc GHC.Core.Coercion

    Extract a covar, if possible. This check is dirty. Be ashamed of yourself. (It's dirty because it cares about the structure of a coercion, which is morally reprehensible.)

  3. instNewTyCon_maybe :: TyCon -> [Type] -> Maybe (Type, Coercion)

    ghc GHC.Core.Coercion

    If `instNewTyCon_maybe T ts = Just (rep_ty, co)` then `co :: T ts ~R# rep_ty` Checks for a newtype, and for being saturated

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

    ghc GHC.Core.Coercion

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

  5. isReflCoVar_maybe :: Var -> Maybe Coercion

    ghc GHC.Core.Coercion

    No documentation available.

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

    ghc GHC.Core.Coercion

    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

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

    ghc GHC.Core.Coercion

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

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

    ghc GHC.Core.Coercion

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

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

    ghc GHC.Core.Coercion

    Attempt to take a coercion application apart.

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

    ghc GHC.Core.Coercion

    Like splitForAllCo_maybe, but only returns Just for covar binder

Page 122 of many | Previous | Next