Safe Haskell | None |
---|---|
Language | Haskell98 |
- type STArrayBuffer s = SomeArrayBuffer (STMutable s)
- freeze :: STArrayBuffer s -> ST s ArrayBuffer
- unsafeFreeze :: STArrayBuffer s -> ST s ArrayBuffer
- thaw :: ArrayBuffer -> ST s (STArrayBuffer s)
- unsafeThaw :: ArrayBuffer -> ST s (STArrayBuffer s)
Documentation
type STArrayBuffer s = SomeArrayBuffer (STMutable s) Source
freeze :: STArrayBuffer s -> ST s ArrayBuffer Source
unsafeFreeze :: STArrayBuffer s -> ST s ArrayBuffer Source
thaw :: ArrayBuffer -> ST s (STArrayBuffer s) Source
Create an STArrayBuffer
by copying an immutable ArrayBuffer
unsafeThaw :: ArrayBuffer -> ST s (STArrayBuffer s) Source