HORIZON HASKELLDocsmaster5ff592b2026-10-19Search names, modules, packages, or :: a typeCtrl K

GHC 10.0.0.20260917 · master · 5ff592b · 2026-10-19

Moduleghc-10.0.0.20260917GHC2024

GHC.Core.Stats

Functions to computing the statistics reflective of the "size" of a Core expression

  • 1 type
  • 4 values

Expression and bindings size

5 declarations
valueexprSize :: CoreExpr -> Int
#

A measure of the size of the expressions, strictly greater than 0 Counts *leaves*, not internal nodes. Types and coercions are not counted.