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 -> AritySource
manifestArity sees how many leading value lambdas there are
exprArity :: CoreExpr -> AritySource
An approximate, fast, version of exprEtaExpandArity
exprEtaExpandArity :: DynFlags -> CoreExpr -> AritySource