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

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

Moduleghc-10.0.0.20260917GHC2024

GHC.StgToJS.Rts.Types

Types and utility functions used in the JS RTS.

  • 5 values
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.