vector-0.10.9.1: Efficient Arrays

Copyright | (c) Roman Leshchinskiy 2009-2010
License | BSD-style
Maintainer | Roman Leshchinskiy <rl@cse.unsw.edu.au>
Stability | experimental
Portability | non-portable
Safe Haskell | None
Language | Haskell98

Data.Vector.Storable.Internal

Description

Ugly internal utility functions for implementing `Storable`-based vectors.

# Documentation

getPtr :: ForeignPtr a -> Ptr a

setPtr :: ForeignPtr a -> Ptr a -> ForeignPtr a

updPtr :: (Ptr a -> Ptr a) -> ForeignPtr a -> ForeignPtr a