Safe Haskell | None |
---|
- data Vector a
- length :: Vector a -> Int#
- new :: Unbox a => Int# -> IO (Vector a)
- read :: Unbox a => Vector a -> Int# -> IO a
- write :: Unbox a => Vector a -> Int# -> a -> IO ()
- take :: Unbox a => Int# -> Vector a -> IO (Vector a)
- fromUnboxed :: Unbox a => Vector a -> IO (Vector a)
- toUnboxed :: Unbox a => Vector a -> IO (Vector a)
Documentation
Abstract mutable vector type that supports random access indexing.
Use fromUnboxed
and toUnboxed
to convert to and from regular
immutable unboxed vectors.