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

GHC 9.14.1 · lts/ghc-9.14.x · 6d5fdfd · 2026-10-12

Moduleghc-9.14.1GHC2021

GHC.Core.Stats

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

Contents
  1. Expression and bindings size
Synopsis
  • Packageghc-9.14.1
  • Exports5
  • LanguageGHC2021
  • LicenceBSD-3-Clause
  • SourceStats.hs

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.