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.JS.Ident

  • Domain and Purpose

    GHC.JS.Ident defines identifiers for the JS backend. We keep this module separate to prevent coupling between GHC and the backend and between unrelated modules is the JS backend.

  • Consumers

    The entire JavaScript Backend consumes this module including modules in GHC.JS.* and modules in GHC.StgToJS.*

  • Additional Notes

    This module should be kept as small as possible. Anything added to it will be coupled to the JS backend EDSL and the JS Backend including the linker and rts. You have been warned.

  • 1 type
  • 1 value
  • Packageghc-9.10.3
  • Exports2
  • LanguageGHC2021
  • LicenceBSD-3-Clause
  • SourceIdent.hs
newtypenewtype Ident
#

A newtype wrapper around FastString for JS identifiers.

Constructors

Instances7Eq, Show, Uniquable, Binary, JVarMagic, ToJExpr, …
valueglobal :: FastString -> Ident
#

A not-so-smart constructor for Idents, used to indicate that this name is expected to be top-level