hw-streams-0.0.1.0: Primitive functions and data types

HaskellWorks.Data.Streams.Vector.Storable

stream :: forall a. Storable a => Vector a -> Stream a Source #

unstream :: forall a. Storable a => Stream a -> Vector a Source #

map :: (Storable a, Storable b) => (a -> b) -> Vector a -> Vector b Source #

zipWith :: (Storable a, Storable b, Storable c) => (a -> b -> c) -> Vector a -> Vector b -> Vector c Source #

enumFromStepN :: (Num a, Storable a) => a -> a -> Int -> Vector a Source #

foldl :: Storable b => (a -> b -> a) -> a -> Vector b -> a Source #

dotp :: (Storable a, Num a) => Vector a -> Vector a -> a Source #

sum :: (Storable a, Num a) => Vector a -> a Source #