ghc-9.6.0.20230111: The GHC API
Safe HaskellSafe-Inferred
LanguageHaskell2010

GHC.StgToJS.Prim

Documentation

genPrim Source #

Arguments

:: Bool

Profiling (cost-centres) enabled

-> Bool

Array bounds-checking enabled

-> Type 
-> PrimOp

the primitive operation

-> [JExpr]

where to store the result

-> [JExpr]

arguments

-> PrimRes