ghcjs-base-0.2.0.0: base library for GHCJS

Safe HaskellNone
LanguageHaskell98

JavaScript.Array.Internal

Documentation

type JSArray = SomeJSArray Immutable Source

type STJSArray s = SomeJSArray (STMutable s) Source

js_setIndex :: Int -> JSVal -> SomeJSArray m -> State# s -> (#State# s, ()#) Source

js_slice :: Int -> Int -> SomeJSArray m -> State# s -> (#State# s, SomeJSArray m1#) Source

js_push :: JSVal -> SomeJSArray m -> State# s -> (#State# s, ()#) Source

js_unshift :: JSVal -> SomeJSArray m -> State# s -> (#State# s, ()#) Source

js_reverse :: SomeJSArray m -> State# s -> (#State# s, ()#) Source