Skip to content

Commit 91e4f1f

Browse files
committed
Expose CrossStreamK, filter, and concatMap in StreamK
1 parent 16f5ee4 commit 91e4f1f

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

core/src/Streamly/Data/StreamK.hs

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,11 @@ module Streamly.Data.StreamK
8282
-- * Type
8383
StreamK
8484

85+
-- * CrossStreamK
86+
, CrossStreamK
87+
, unCross
88+
, mkCross
89+
8590
-- * Construction
8691
-- ** Primitives
8792
-- | Primitives to construct a stream from pure values or monadic actions.
@@ -126,6 +131,7 @@ module Streamly.Data.StreamK
126131
, mapM
127132
, dropWhile
128133
, take
134+
, filter
129135

130136
-- * Combining Two Streams
131137
-- | Unlike the operations in "Streamly.Data.Stream", these operations can
@@ -163,7 +169,7 @@ module Streamly.Data.StreamK
163169
-- >>> concatForFoldableWith f xs g = Prelude.foldr (f . g) StreamK.nil xs
164170
--
165171
, concatEffect
166-
-- , concatMap
172+
, concatMap
167173
, concatMapWith
168174
, mergeMapWith
169175

@@ -184,6 +190,6 @@ module Streamly.Data.StreamK
184190
where
185191

186192
import Streamly.Internal.Data.StreamK
187-
import Prelude hiding (reverse, zipWith, mapM, dropWhile, take)
193+
import Prelude hiding (reverse, zipWith, mapM, dropWhile, take, filter)
188194

189195
#include "DocTestDataStreamK.hs"

0 commit comments

Comments
 (0)