ghc-8.2.2: The GHC API

Safe Haskell | None
Language | Haskell2010

WwLib

# Documentation

mkWwBodies :: DynFlags -> FamInstEnvs -> VarSet -> Maybe JoinArity -> Type -> [Demand] -> DmdResult -> UniqSM (Maybe WwResult) #

mkWWstr :: DynFlags -> FamInstEnvs -> [Var] -> UniqSM (Bool, [Var], CoreExpr -> CoreExpr, CoreExpr -> CoreExpr) #

mkWorkerArgs :: DynFlags -> [Var] -> Type -> ([Var], [Var]) #

deepSplitProductType_maybe :: FamInstEnvs -> Type -> Maybe (DataCon, [Type], [(Type, StrictnessMark)], Coercion) #

findTypeShape :: FamInstEnvs -> Type -> TypeShape #

isWorkerSmallEnough :: DynFlags -> [Var] -> Bool #