ghcjs-base-0.2.0.0: base library for GHCJS

Safe HaskellNone
LanguageHaskell98

JavaScript.Array.ST

Documentation

type STJSArray s = SomeJSArray (STMutable s) Source

build :: (forall s. STJSArray s -> ST s ()) -> JSArray Source

write :: Int -> JSVal -> STJSArray s -> ST s () Source

push :: JSVal -> STJSArray s -> ST s () Source

unshift :: JSVal -> STJSArray s -> ST s () Source

reverse :: STJSArray s -> ST s () Source

take :: Int -> STJSArray s -> ST s (STJSArray s) Source

drop :: Int -> STJSArray s -> ST s (STJSArray s) Source