ghcjs-base-stub-0.2.0.0: Allow GHCJS projects to compile under GHC and develop using intero.

Safe HaskellNone
LanguageHaskell2010

GHCJS.Prim

Synopsis

Documentation

newtype JSVal #

Constructors

JSVal () 
Instances
NFData JSVal # 
Instance details

Defined in GHCJS.Internal.Types

Methods

rnf :: JSVal -> () #

FromJSVal JSVal # 
Instance details

Defined in GHCJS.Marshal

ToJSVal JSVal # 
Instance details

Defined in GHCJS.Marshal

PFromJSVal JSVal # 
Instance details

Defined in GHCJS.Marshal.Pure

Methods

pFromJSVal :: JSVal -> JSVal #

PToJSVal JSVal # 
Instance details

Defined in GHCJS.Marshal.Pure

Methods

pToJSVal :: JSVal -> 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 

fromJSString :: JSVal -> String #

Low-level conversion utilities for packages that cannot depend on ghcjs-base

returns an empty string if the JSVal does not contain a string

fromJSInt :: JSVal -> Int #

returns zero if the JSVal does not contain a number