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

GHC 9.14.1 · lts/ghc-9.14.x · b2f3bfd · 2026-10-11

Moduleghc-9.14.1GHC2021

GHC.StgToJS.Rts.Types

Types and utility functions used in the JS RTS.

  • 6 values
  • Packageghc-9.14.1
  • Exports6
  • LanguageGHC2021
  • LicenceBSD-3-Clause
  • SourceTypes.hs
valueassertRts :: ToJExpr a => StgToJSConfig -> JStgExpr -> a -> JStgStat
#

Syntactic sugar. Given a JStgExpr, ex which is assumed to be a predicate, and a message m, assert that 'not ex' is True, if not throw an exception in JS land with message m.