vector-0.9.1: Efficient Arrays

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

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