HORIZON HASKELLDocslts/ghc-9.10.x248f8f02026-10-05Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05

Moduleghc-9.10.3GHC2021

GHC.StgToJS.Utils

  • 1 type
  • 32 values
  • Packageghc-9.10.3
  • Exports33
  • LanguageGHC2021
  • LicenceBSD-3-Clause
  • SourceUtils.hs

Unboxable datacon

3 declarations
valueisUnboxable :: JSRep -> Bool
#

one-constructor types with one primitive field represented as a JS Number can be unboxed

JSRep

13 declarations
valueslotCount :: SlotCount -> Int
#

Return SlotCount as an Int

valuevarSize :: JSRep -> Int
#

Number of slots occupied by a value with the given JSRep

References and Ids

4 declarations

Live variables

9 declarations