Arit and eta expansion
Documentation
manifestArity :: CoreExpr -> AritySource
manifestArity sees how many leading value lambdas there are
exprArity :: CoreExpr -> AritySource
An approximate, fast, version of exprEtaExpandArity
exprEtaExpandArity :: CheapFun -> CoreExpr -> AritySource