ghc-internal-9.1001.0: src/GHC/Internal/Wasm/Prim.hs
{-# LANGUAGE NoImplicitPrelude #-}
module GHC.Internal.Wasm.Prim (
-- User-facing JSVal type and freeJSVal
JSVal (..),
freeJSVal,
-- The JSString type and conversion from/to Haskell String
JSString (..),
fromJSString,
toJSString,
-- Exception types related to JSFFI
JSException (..),
WouldBlockException (..),
PromisePendingException (..),
-- Is JSFFI used in the current wasm module?
isJSFFIUsed
) where
import GHC.Internal.Wasm.Prim.Flag
import GHC.Internal.Wasm.Prim.Types