hw-prim-0.0.3.0: Primitive functions and data types

Safe HaskellNone
LanguageHaskell2010

HaskellWorks.Data.Vector.StorableVectorLike

Synopsis

Documentation

class StorableVectorLike v e where Source

Class of values that support storable vector like operations

Methods

sImap :: (Storable a, Storable b) => (Int -> a -> b) -> v a -> v b Source

sMap :: (Storable a, Storable b) => (a -> b) -> v a -> v b Source

sUnfoldr :: Storable a => (b -> Maybe (a, b)) -> b -> v a Source

sUnfoldrN :: Storable a => Int -> (b -> Maybe (a, b)) -> b -> v a Source