ghcjs-base-0.2.0.0: base library for GHCJS

Safe HaskellNone
LanguageHaskell98

GHCJS.Types

Synopsis

Documentation

data JSVal :: *

data WouldBlockException :: *

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.

Constructors

WouldBlockException 

jsval :: IsJSVal a => a -> JSVal Source

data JSString Source

A wrapper around a JavaScript string

type JSRef a = JSVal Source

Deprecated: Use JSVal instead, or a more specific newtype wrapper of JSVal

This is a deprecated copmatibility wrapper for the old JSRef type.

See https://github.com/ghcjs/ghcjs/issues/421