HORIZON HASKELLDocslts/ghc-10.0.x2b276322026-10-31Search packagesCtrl K
Theme: |

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 2b27632 · 2026-10-31

Moduleghc-lib-parser-9.14.1.20251220GHC2021

GHC.Core.Stats

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

Contents
  1. Expression and bindings size
Synopsis

Expression and bindings size

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.