HORIZON HASKELLDocslts/ghc-10.0.xfc4e5982026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 10.0.0.20260917 · lts/ghc-10.0.x · fc4e598 · 2026-10-11

Moduleghc-10.0.0.20260917GHC2024

GHC.Platform.Tag

Dynamic pointer tagging

See Note [Data constructor dynamic tags]

  • 1 type
  • 3 values
typetype DynTag = Int
#

The tag on a pointer (from the dynamic-tagging paper)

valuetAG_MASK :: Platform -> Int
#

Tag bits mask / maximum pointer tag value, derived from the number of tag bits on the platform.

valuemAX_PTR_TAG :: Platform -> Int
#

Tag bits mask / maximum pointer tag value, derived from the number of tag bits on the platform.