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.
tcSplitSomeForAllTyVars :: (ForAllTyFlag -> Bool) -> Type -> ([TyVar], Type)ghc GHC.Tc.Utils.TcType Like tcSplitForAllTyVars, but only splits a ForAllTy if argf_pred argf is True, where argf is the visibility of the ForAllTy's binder and argf_pred is a predicate over visibilities provided as an argument to this function.
-
ghc GHC.Tc.Utils.Unify No documentation available.
tef_foralls :: TyEqFlags a -> Boolghc GHC.Tc.Utils.Unify No documentation available.
ActiveBefore :: SourceText -> PhaseNum -> Activationghc GHC.Types.Basic No documentation available.
mkCprSigForArity :: Arity -> CprType -> CprSigghc GHC.Types.Cpr Turns a CprType computed for the particular Arity into a CprSig unleashable at that arity. See Note [Understanding DmdType and DmdSig] in GHC.Types.Demand
type
DmdTransformer = SubDemand -> DmdTypeghc GHC.Types.Demand A demand transformer is a monotone function from an incoming evaluation context (SubDemand) to a DmdType, describing how the denoted thing (i.e. expression, function) uses its arguments and free variables, and whether it diverges. See Note [Understanding DmdType and DmdSig] and Note [What are demand signatures?].
dmdTransformDataConSig :: [StrictnessMark] -> DmdTransformerghc GHC.Types.Demand A special DmdTransformer for data constructors that feeds product demands into the constructor arguments.
dmdTransformDictSelSig :: DmdSig -> DmdTransformerghc GHC.Types.Demand A special DmdTransformer for dictionary selectors that feeds the demand on the result into the indicated dictionary component (if saturated). See Note [Demand transformer for a dictionary selector].
dmdTransformSig :: DmdSig -> DmdTransformerghc GHC.Types.Demand Extrapolate a demand signature (DmdSig) into a DmdTransformer. Given a function's DmdSig and a SubDemand for the evaluation context, return how the function evaluates its free variables and arguments.
mkDmdSigForArity :: Arity -> DmdType -> DmdSigghc GHC.Types.Demand Turns a DmdType computed for the particular Arity into a DmdSig unleashable at that arity. See Note [Understanding DmdType and DmdSig].