Hoogle Search

Within LTS Haskell 24.38 (ghc-9.10.3)

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

  1. splitForAllCo_ty_maybe :: Coercion -> Maybe (TyVar, ForAllTyFlag, ForAllTyFlag, Coercion, Coercion)

    ghc GHC.Plugins

    Like splitForAllCo_maybe, but only returns Just for tyvar binder

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

    ghc GHC.Plugins

    Attempts to take a ForAllTy apart, returning the full ForAllTyBinder

  3. splitForAllForAllTyBinders :: Type -> ([ForAllTyBinder], Type)

    ghc GHC.Plugins

    Take a ForAllTy apart, returning the binders and result type

  4. splitForAllInvisTyBinders :: Type -> ([InvisTyBinder], Type)

    ghc GHC.Plugins

    Like splitForAllTyCoVars, but only splits ForAllTys with Invisible type variable binders. Furthermore, each returned tyvar is annotated with its Specificity.

  5. splitForAllReqTyBinders :: Type -> ([ReqTyBinder], Type)

    ghc GHC.Plugins

    Like splitForAllTyCoVars, but only splits ForAllTys with Required type variable binders. Furthermore, each returned tyvar is annotated with ().

  6. splitForAllTyCoVar :: Type -> (TyCoVar, Type)

    ghc GHC.Plugins

    Take a forall type apart, or panics if that is not possible.

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

    ghc GHC.Plugins

    Attempts to take a ForAllTy apart, returning the Var

  8. splitForAllTyCoVars :: Type -> ([TyCoVar], Type)

    ghc GHC.Plugins

    Take a ForAllTy apart, returning the list of tycovars and the result type. 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.

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

    ghc GHC.Plugins

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

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

Page 475 of many | Previous | Next