on master help sign in
Update changelog for `unfoldMany`
82c177aHarendra Kumar
Changelog.md+1
@@ -61,6 +61,7 @@
61 * `foldWith` to `concatFoldableWith`
61 * `foldWith` to `concatFoldableWith`
62 * `foldMapWith` to `concatMapFoldableWith`
62 * `foldMapWith` to `concatMapFoldableWith`
63 * `forEachWith` to `concatForFoldableWith`
63 * `forEachWith` to `concatForFoldableWith`
64+* In `Streamly.Prelude`, `concatUnfold` is renamed to `unfoldMany`
64* The following encoding/decoding routines have been renamed:
65* The following encoding/decoding routines have been renamed:
65 * `encodeUtf8Lax` to `encodeUtf8`
66 * `encodeUtf8Lax` to `encodeUtf8`
66 * `encodeLatin1Lax` to `encodeLatin1`
67 * `encodeLatin1Lax` to `encodeLatin1`
src/Streamly/Internal/Data/Stream/IsStream/Expand.hs+3−1
@@ -92,7 +92,6 @@ module Streamly.Internal.Data.Stream.IsStream.Expand
92 , unfoldMany
92 , unfoldMany
93 , unfoldManyInterleave
93 , unfoldManyInterleave
94 , unfoldManyRoundRobin
94 , unfoldManyRoundRobin
95− , concatUnfold
96
95
97 -- ** Interpose
96 -- ** Interpose
98 -- | Insert effects between streams. Like unfoldMany but intersperses an
97 -- | Insert effects between streams. Like unfoldMany but intersperses an
@@ -151,6 +150,9 @@ module Streamly.Internal.Data.Stream.IsStream.Expand
151 , iterateMapWith
150 , iterateMapWith
152 , iterateSmapMWith
151 , iterateSmapMWith
153 , iterateMapLeftsWith
152 , iterateMapLeftsWith
153+
154+ -- * Deprecated
155+ , concatUnfold
154 )
156 )
155where
157where
156
158
src/Streamly/Prelude.hs+1−1
@@ -595,7 +595,6 @@ module Streamly.Prelude
595 , concatMapWith
595 , concatMapWith
596 , concatMap
596 , concatMap
597 , concatMapM
597 , concatMapM
598− , concatUnfold
599 , unfoldMany
598 , unfoldMany
600
599
601 -- ** Folding Containers of Streams
600 -- ** Folding Containers of Streams
@@ -646,6 +645,7 @@ module Streamly.Prelude
646 , runWhile
645 , runWhile
647 , fromHandle
646 , fromHandle
648 , toHandle
647 , toHandle
648+ , concatUnfold
649 )
649 )
650where
650where
651
651