Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
845cd1d
Add inspection tests for SPEC in Unfold
harendra-kumar Jun 4, 2026
c8a563b
Move crossWithM to Producer module
harendra-kumar Jun 3, 2026
ff4e53a
Move fairCrossWithM to Producer module
harendra-kumar Jun 3, 2026
00c426a
Move concatMapM to the Producer module
harendra-kumar Jun 3, 2026
c685029
Move unfoldEach to the Producer module
harendra-kumar Jun 3, 2026
db53553
Add some renaming suggestions
harendra-kumar Jun 3, 2026
8bcc848
Move unfoldEachInterleave to the Producer module
harendra-kumar Jun 3, 2026
3cdce59
Move the "interleave" operation to Producer module
harendra-kumar Jun 3, 2026
0136016
Move zipWithM to the Producer module
harendra-kumar Jun 3, 2026
e1825fd
Move functionM to the Producer module
harendra-kumar Jun 3, 2026
1051654
Add eta expansions to step functions of Unfold/Stream
harendra-kumar Jun 4, 2026
5731eaf
Fix doctests in Unfold/Type
harendra-kumar Jun 3, 2026
3a9c026
Reorder exports in Unfold/Type
harendra-kumar Jun 3, 2026
c1707a5
Consolidate inspection tests in Expand.hs
harendra-kumar Jun 3, 2026
4b0a514
Add inspection tests in Stream/Generate
harendra-kumar Jun 4, 2026
aeb431c
Add inspection tests in Stream/Transform
harendra-kumar Jun 4, 2026
69e652c
Add more inspection tests in Stream/Eliminate
harendra-kumar Jun 4, 2026
d155d3e
Add inspection tests in Stream/Reduce benchmarks
harendra-kumar Jun 4, 2026
f26cc40
Consolidate, add inspection tests in Stream/Split
harendra-kumar Jun 4, 2026
5641e87
Consolidate, add inspection tests in Lift, Exception
harendra-kumar Jun 4, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions benchmark/Streamly/Benchmark/Data/Stream/Common.hs
Original file line number Diff line number Diff line change
Expand Up @@ -429,9 +429,11 @@ mapM ::
-> m ()
mapM n = composeN n $ Stream.mapM return

{-# INLINE foldl' #-}
foldl' :: Monad m => (b -> a -> b) -> b -> Stream m a -> m b
foldl' f z = Stream.fold (Fold.foldl' f z)

{-# INLINE scanl' #-}
scanl' :: Monad m => (b -> a -> b) -> b -> Stream m a -> Stream m b
scanl' f z = Stream.scanl (Scanl.scanl' f z)

Expand Down
Loading
Loading