vector-0.10.0.1: Efficient Arrays

Portability | non-portable
Stability | experimental
Maintainer | Roman Leshchinskiy <rl@cse.unsw.edu.au>
Safe Haskell | None

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