conduit-extra-0.1.6: Experimental helper functions for conduit.
Data.Conduit.Extra.Utils
Description
Functions currently under development which have not been moved to their final destination.
Synopsis
takeWhile :: Monad m => (a -> Bool) -> Conduit a m aSource
collect :: PrimMonad m => Int -> Sink a m (Vector a)Source
collectUnboxed :: (PrimMonad m, Unbox a) => Int -> Sink a m (Vector a)Source
dropRight :: Monad m => Int -> Conduit a m aSource
Remove the last N elements from the stream. This requires holding up to N elements in memory.