Safe Haskell | None |
---|---|
Language | GHC2021 |
Functions to computing the statistics reflective of the "size" of a Core expression
Expression and bindings size
coreBindsSize :: [CoreBind] -> Int Source #
exprSize :: CoreExpr -> Int Source #
A measure of the size of the expressions, strictly greater than 0 Counts *leaves*, not internal nodes. Types and coercions are not counted.
Instances
coreBindsStats :: [CoreBind] -> CoreStats Source #