Safe Haskell | None |
---|---|
Language | Haskell98 |
Documentation
type JSArray = SomeJSArray Immutable Source
type MutableJSArray = SomeJSArray Mutable Source
lengthIO :: SomeJSArray m -> IO Int Source
fromListIO :: [JSVal] -> IO (SomeJSArray m) Source
toListIO :: SomeJSArray m -> IO [JSVal] Source
append :: SomeJSArray m -> SomeJSArray m -> IO (SomeJSArray m1) Source
push :: JSVal -> MutableJSArray -> IO () Source
pop :: MutableJSArray -> IO JSVal Source
unshift :: JSVal -> MutableJSArray -> IO () Source
shift :: MutableJSArray -> IO JSVal Source
reverse :: MutableJSArray -> IO () Source
takeIO :: Int -> SomeJSArray m -> IO (SomeJSArray m1) Source
dropIO :: Int -> SomeJSArray m -> IO (SomeJSArray m1) Source
freeze :: MutableJSArray -> IO JSArray Source
thaw :: JSArray -> IO MutableJSArray Source
unsafeThaw :: JSArray -> IO MutableJSArray Source