on master help sign in
Move demux/classify ops to "Combinators" section
commit13bf3f56fa05fb0d0948b254d62071738eb852ad authorHarendra Kumar <harendra@composewell.com> dateSun 23 Apr 2023, 18:16 (3 years ago) parent0ac3718
1 file changed+14−10
core/src/Streamly/Data/Fold.hs+14−10
core/src/Streamly/Data/Fold.hs+14−10
@@ -72,10 +72,6 @@ module Streamly.Data.Fold
7272 , toListRev
7373 , toSet
7474 , toIntSet
75− , toMap
76− , toMapIO
77− , demuxToMap
78− , demuxToMapIO
7975 , topBy
8076
8177 -- ** Non-Empty Accumulators
@@ -97,10 +93,6 @@ module Streamly.Data.Fold
9793 , uniqBy
9894 , nub
9995 , nubInt
100− , classify
101− , classifyIO
102− , demux
103− , demuxIO
10496
10597 -- ** Terminating Folds
10698 , one
@@ -216,14 +208,26 @@ module Streamly.Data.Fold
216208 --, partitionByMinM
217209 --, partitionBy
218210
219− -- ** Unzipping
220− , unzip
211+ -- ** Key-value Collectors
212+ , toMap
213+ , toMapIO
214+ , demuxToMap
215+ , demuxToMapIO
216+
217+ -- ** Key-value Scanners
218+ , classify
219+ , classifyIO
220+ , demux
221+ , demuxIO
221222
222223 -- ** Splitting
223224 , many
224225 , groupsOf
225226 -- , intervalsOf
226227
228+ -- ** Unzipping
229+ , unzip
230+
227231 -- ** Nesting
228232 , concatMap
229233