@@ -234,6 +234,7 @@ module Streamly.Data.Stream
234 -- express all others.
234 -- express all others.
235 , fold -- XXX rename to run? We can have a Stream.run and Fold.run.
235 , fold -- XXX rename to run? We can have a Stream.run and Fold.run.
236 -- XXX fold1 can be achieved using Monoids or Refolds.
236 -- XXX fold1 can be achieved using Monoids or Refolds.
237+ -- XXX We can call this just "break" and parseBreak as "munch"
237 , foldBreak
238 , foldBreak
239 -- * Builders
240 -- * Builders
@@ -331,19 +332,25 @@ module Streamly.Data.Stream
332 , dropWhile
333 , dropWhile
333 , dropWhileM
334 , dropWhileM
337− -- ** Sampling
336+ -- XXX These are available as scans in folds. We need to check the
338− , strideFromThen
337+ -- performance though. If these are common and we need convenient stream
338+ -- ops then we can expose these.
340− -- ** Searching
347+ -- -- ** Searching
341 -- Finding the presence or location of an element, a sequence of elements
348 -- Finding the presence or location of an element, a sequence of elements
342 -- or another stream within a stream.
349 -- or another stream within a stream.
344 -- -- ** Searching Elements
351 -- -- ** Searching Elements
345− , findIndices
352+ -- , findIndices
346− , elemIndices
353+ -- , elemIndices
348 -- * Combining Two Streams
355 -- * Combining Two Streams
349 -- ** Appending
356 -- ** Appending