Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
newtype SomeJSArray (m :: MutabilityType s) Source #
Instances
IsJSVal (SomeJSArray m) Source # | |
Defined in JavaScript.Array.Internal jsval_ :: SomeJSArray m -> JSVal |
type JSArray = SomeJSArray Immutable Source #
type MutableJSArray = SomeJSArray Mutable Source #
type STJSArray s = SomeJSArray (STMutable s) Source #
append :: SomeJSArray m -> SomeJSArray m -> IO (SomeJSArray m1) Source #
fromListIO :: [JSVal] -> IO (SomeJSArray m) Source #
reverse :: MutableJSArray -> IO () Source #
takeIO :: Int -> SomeJSArray m -> IO (SomeJSArray m1) Source #
dropIO :: Int -> SomeJSArray m -> IO (SomeJSArray m1) Source #
unsafeFreeze :: MutableJSArray -> IO JSArray Source #
unsafeThaw :: JSArray -> IO MutableJSArray Source #