Safe Haskell | None |
---|---|
Language | Haskell98 |
Arit and eta expansion
- manifestArity :: CoreExpr -> Arity
- exprArity :: CoreExpr -> Arity
- exprBotStrictness_maybe :: CoreExpr -> Maybe (Arity, StrictSig)
- exprEtaExpandArity :: DynFlags -> CoreExpr -> Arity
- findRhsArity :: DynFlags -> Id -> CoreExpr -> Arity -> Arity
- type CheapFun = CoreExpr -> Maybe Type -> Bool
- etaExpand :: Arity -> CoreExpr -> CoreExpr
Documentation
manifestArity :: CoreExpr -> Arity Source
manifestArity sees how many leading value lambdas there are
exprArity :: CoreExpr -> Arity Source
An approximate, fast, version of exprEtaExpandArity
exprEtaExpandArity :: DynFlags -> CoreExpr -> Arity Source