HORIZON HASKELLDocslts/ghc-9.14.x7a6c33e2026-10-12Search packagesCtrl K
Theme: |

GHC 9.14.1 · lts/ghc-9.14.x · 7a6c33e · 2026-10-12

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.