Hoogle Search

Within LTS Haskell 24.45 (ghc-9.10.3)

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

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

    ghc GHC.Plugins

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

  2. splitForAllTyVars :: Type -> ([TyVar], Type)

    ghc GHC.Plugins

    Like splitForAllTyCoVars, but split only for tyvars. This always succeeds, even if it returns only an empty list. Note that the result type returned may have free variables that were bound by a forall.

  3. substForAllCoBndrUsingLC :: Bool -> (Coercion -> Coercion) -> LiftingContext -> TyCoVar -> Coercion -> (LiftingContext, TyCoVar, Coercion)

    ghc GHC.Plugins

    Like substForAllCoBndr, but works on a lifting context

  4. substRulesForImportedIds :: Subst -> [CoreRule] -> [CoreRule]

    ghc GHC.Plugins

    No documentation available.

  5. tidyCoAxBndrsForUser :: TidyEnv -> [Var] -> (TidyEnv, [Var])

    ghc GHC.Plugins

    No documentation available.

  6. tidyForAllTyBinder :: TidyEnv -> VarBndr TyCoVar vis -> (TidyEnv, VarBndr TyCoVar vis)

    ghc GHC.Plugins

    No documentation available.

  7. tidyForAllTyBinders :: TidyEnv -> [VarBndr TyCoVar vis] -> (TidyEnv, [VarBndr TyCoVar vis])

    ghc GHC.Plugins

    No documentation available.

  8. tyConForAllTyFlags :: TyCon -> [Type] -> [ForAllTyFlag]

    ghc GHC.Plugins

    Given a TyCon and a list of argument types to which the TyCon is applied, determine each argument's visibility (Inferred, Specified, or Required). Wrinkle: consider the following scenario:

    T :: forall k. k -> k
    tyConForAllTyFlags T [forall m. m -> m -> m, S, R, Q]
    
    After substituting, we get
    T (forall m. m -> m -> m) :: (forall m. m -> m -> m) -> forall n. n -> n -> n
    
    Thus, the first argument is invisible, S is visible, R is invisible again, and Q is visible.

  9. NoWarnUnusedForalls :: WarnUnusedForalls

    ghc GHC.Rename.HsType

    No documentation available.

  10. data WarnUnusedForalls

    ghc GHC.Rename.HsType

    Should GHC warn if a quantified type variable goes unused? Usually, the answer is "yes", but in the particular case of binding LHsQTyVars, we avoid emitting warnings. See Note [Suppress -Wunused-foralls when binding LHsQTyVars].

Page 477 of many | Previous | Next