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 aSource

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

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