Update changelog for `unfoldMany`
commit82c177a554e52419bb69d85ad1ccf5eaaa50f018
authorHarendra Kumar <harendra@composewell.com>
dateMon 22 Mar 2021, 19:23 (6 years ago)
parentb73b5ff
Changelog.md+1
@@ -61,6 +61,7 @@
6161 * `foldWith` to `concatFoldableWith`
6262 * `foldMapWith` to `concatMapFoldableWith`
6363 * `forEachWith` to `concatForFoldableWith`
64+* In `Streamly.Prelude`, `concatUnfold` is renamed to `unfoldMany`
6465* The following encoding/decoding routines have been renamed:
6566 * `encodeUtf8Lax` to `encodeUtf8`
6667 * `encodeLatin1Lax` to `encodeLatin1`
src/Streamly/Internal/Data/Stream/IsStream/Expand.hs+3−1
@@ -92,7 +92,6 @@ module Streamly.Internal.Data.Stream.IsStream.Expand
9292 , unfoldMany
9393 , unfoldManyInterleave
9494 , unfoldManyRoundRobin
95− , concatUnfold
9695
9796 -- ** Interpose
9897 -- | Insert effects between streams. Like unfoldMany but intersperses an
@@ -151,6 +150,9 @@ module Streamly.Internal.Data.Stream.IsStream.Expand
151150 , iterateMapWith
152151 , iterateSmapMWith
153152 , iterateMapLeftsWith
153+
154+ -- * Deprecated
155+ , concatUnfold
154156 )
155157where
156158
src/Streamly/Prelude.hs+1−1
@@ -595,7 +595,6 @@ module Streamly.Prelude
595595 , concatMapWith
596596 , concatMap
597597 , concatMapM
598− , concatUnfold
599598 , unfoldMany
600599
601600 -- ** Folding Containers of Streams
@@ -646,6 +645,7 @@ module Streamly.Prelude
646645 , runWhile
647646 , fromHandle
648647 , toHandle
648+ , concatUnfold
649649 )
650650where
651651