on master help sign in
Move catMaybes and catEithers together
commit0fe70414abb797f67a0a6e747633107860ab38ed authorHarendra Kumar <harendra@composewell.com> dateWed 7 Dec 2022, 18:11 (4 years ago) parent6ff48b3
1 file changed+5−5
core/src/Streamly/Data/Stream.hs+5−5
core/src/Streamly/Data/Stream.hs+5−5
@@ -316,7 +316,12 @@ module Streamly.Data.Stream
316316 , mapMaybeM
317317 , filter
318318 , filterM
319+
320+ -- Filter and concat
319321 , catMaybes
322+ , catLefts
323+ , catRights
324+ , catEithers
320325
321326 -- ** Stateful Filters
322327 -- | 'scanMaybe' is the most general stateful filtering operation. The
@@ -333,11 +338,6 @@ module Streamly.Data.Stream
333338 , deleteBy
334339 , uniq
335340
336− -- * Either Streams
337− , catLefts
338− , catRights
339− , catEithers
340−
341341 -- ** Searching
342342 -- Finding the presence or location of an element, a sequence of elements
343343 -- or another stream within a stream.