DPutils-0.0.2.0: utilities for DP

Safe HaskellNone
LanguageHaskell2010

Data.Vector.Generic.Unstream

Description

Helper functions for turnings streams into vectors.

Mostly very similar to bundle conversion functions from the vector package.

Synopsis

Documentation

streamToVectorM :: forall m v a. (Monad m, Vector v a) => Stream m a -> m (v a) Source #

Turns a stream into a vector.

TODO insert index checks? Generalized flag devel