Modulebase-4.23.0.0Haskell2010
GHC.JS.Prim
Synopsis
- data JSVal
- type JSVal#
- data JSException
- data WouldBlockException
- value toIO
- value resolve
- value resolveIO
- value mkJSException
- value fromJSString
- value toJSString
- value toJSArray
- value fromJSArray
- value fromJSInt
- value toJSInt
- value isNull
- value isUndefined
- value jsNull
- value getProp
- value getProp'
- value getProp#
- value unsafeGetProp
- value unsafeGetProp'
- value unsafeGetProp#
- value unpackJSString#
- value unpackJSStringUtf8#
- value unsafeUnpackJSString#
- value unsafeUnpackJSStringUtf8#
- value unpackJSStringUtf8##
- value unsafeUnpackJSStringUtf8##
- Packagebase-4.23.0.0
- Exports29
- LanguageHaskell2010
- LicenceBSD-3-Clause
- SourcePrim.hs
Constructors
Instances2Show, Exception
Show JSExceptionDefined in ghc-internal-10.0.0 · GHC.Internal.JS.PrimException JSExceptionDefined in ghc-internal-10.0.0 · GHC.Internal.JS.Prim
If a synchronous thread tries to do something that can only be done asynchronously, and the thread is set up to not continue asynchronously, it receives this exception.
Instances2Show, Exception
Show WouldBlockExceptionDefined in ghc-internal-10.0.0 · GHC.Internal.JS.PrimException WouldBlockExceptionDefined in ghc-internal-10.0.0 · GHC.Internal.JS.Prim
Low-level conversion utilities for packages that cannot depend on ghcjs-base
returns an empty string if the JSVal does not contain a string
returns zero if the JSVal does not contain a number
only safe on immutable Addr#
only safe on immutable object
only safe on immutable object
only safe on immutable Addr# and JSVal
only safe on immutable Addr#
only safe on immutable Addr#