Syntactic sugar, i.e., a Haskell function which generates useful JS code.
Given a JStgExpr, ex, inject a trace statement on ex in the compiled JS
program
Moduleghc-9.10.3GHC2021
GHC.StgToJS.Rts.Types
Types and utility functions used in the JS RTS.
- 6 values
- Packageghc-9.10.3
- Exports6
- LanguageGHC2021
- LicenceBSD-3-Clause
- SourceTypes.hs
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.
name of the closure c
Type name of the closure c
Perform the computation f, on the range of registers bounded by start
and end.