HORIZON HASKELLDocslts/ghc-10.0.x8fef28d2026-11-02Search packagesCtrl K
Theme: |

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 8fef28d · 2026-11-02

Moduleghc-10.0.0.20260917GHC2024

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.