on master help sign in
Move catMaybes and catEithers together
0fe7041Harendra Kumar
core/src/Streamly/Data/Stream.hs+5−5
@@ -316,7 +316,12 @@ module Streamly.Data.Stream
316 , mapMaybeM
316 , mapMaybeM
317 , filter
317 , filter
318 , filterM
318 , filterM
319+
320+ -- Filter and concat
319 , catMaybes
321 , catMaybes
322+ , catLefts
323+ , catRights
324+ , catEithers
320
325
321 -- ** Stateful Filters
326 -- ** Stateful Filters
322 -- | 'scanMaybe' is the most general stateful filtering operation. The
327 -- | 'scanMaybe' is the most general stateful filtering operation. The
@@ -333,11 +338,6 @@ module Streamly.Data.Stream
333 , deleteBy
338 , deleteBy
334 , uniq
339 , uniq
335
340
336− -- * Either Streams
337− , catLefts
338− , catRights
339− , catEithers
340−
341 -- ** Searching
341 -- ** Searching
342 -- Finding the presence or location of an element, a sequence of elements
342 -- Finding the presence or location of an element, a sequence of elements
343 -- or another stream within a stream.
343 -- or another stream within a stream.