on master help sign in
Rename Array.Mut.* modules to MutArray.*
commitd71a8b290d156e7678511294956e6a10b29e7cc3 authorHarendra Kumar <harendra@composewell.com> dateMon 6 Mar 2023, 11:37 (4 years ago) parentf97b183
6 files changed+13−14
core/src/Streamly/Data/Fold.hs+3−3 core/src/Streamly/Data/Array/Mut.hs → core/src/Streamly/Data/MutArray.hs+2−2 core/src/Streamly/Data/Array/Generic/Mut.hs → core/src/Streamly/Data/MutArray/Generic.hs+2−2 core/src/Streamly/Internal/Data/Stream/Bottom.hs+1−1 core/streamly-core.cabal+3−4 docs/User/ProjectRelated/Changelog.md+2−2
core/src/Streamly/Data/Fold.hs+3−3
@@ -227,9 +227,9 @@ module Streamly.Data.Fold
227227 -- , breakStream
228228
229229 -- * Incremental builders
230− -- | Mutable arrays ("Streamly.Data.Array.Mut") are basic builders. You can
231− -- use the 'Streamly.Data.Array.Mut.snoc' or
232− -- 'Streamly.Data.Array.Mut.writeAppend' operations to incrementally build
230+ -- | Mutable arrays ("Streamly.Data.MutArray") are basic builders. You can
231+ -- use the 'Streamly.Data.MutArray.snoc' or
232+ -- 'Streamly.Data.MutArray.writeAppend' operations to incrementally build
233233 -- mutable arrays. The 'addOne' and 'addStream' combinators can be used to
234234 -- incrementally build any type of structure using a fold, including arrays
235235 -- or a stream of arrays.
core/src/Streamly/Data/Array/Mut.hs → core/src/Streamly/Data/MutArray.hsrenamed+2−2
@@ -1,5 +1,5 @@
11-- |
2−-- Module : Streamly.Data.Array.Mut
2+-- Module : Streamly.Data.MutArray
33-- Copyright : (c) 2022 Composewell Technologies
44--
55-- License : BSD3
@@ -11,7 +11,7 @@
1111-- random access, and mutation.
1212--
1313
14−module Streamly.Data.Array.Mut
14+module Streamly.Data.MutArray
1515 (
1616 -- * Types
1717 MutArray
core/src/Streamly/Data/Array/Generic/Mut.hs → core/src/Streamly/Data/MutArray/Generic.hsrenamed+2−2
@@ -1,5 +1,5 @@
11-- |
2−-- Module : Streamly.Data.Array.Generic.Mut
2+-- Module : Streamly.Data.MutArray.Generic
33-- Copyright : (c) 2020 Composewell Technologies
44-- License : BSD3-3-Clause
55-- Maintainer : streamly@composewell.com
@@ -8,7 +8,7 @@
88--
99-- Mutable variant of the "Streamly.Data.Array.Generic" module.
1010--
11−module Streamly.Data.Array.Generic.Mut
11+module Streamly.Data.MutArray.Generic
1212(
1313 -- * Type
1414 MutArray
core/src/Streamly/Internal/Data/Stream/Bottom.hs+1−1
@@ -99,7 +99,7 @@ import Streamly.Internal.Data.Stream.Type
9999-- >>> import Streamly.Data.Stream (Stream)
100100-- >>> import System.IO.Unsafe (unsafePerformIO)
101101-- >>> import qualified Streamly.Data.Array as Array
102−-- >>> import qualified Streamly.Data.Array.Mut as MArray
102+-- >>> import qualified Streamly.Data.MutArray as MArray
103103-- >>> import qualified Streamly.Data.Fold as Fold
104104-- >>> import qualified Streamly.Data.Parser as Parser
105105-- >>> import qualified Streamly.Data.Unfold as Unfold
core/streamly-core.cabal+3−4
@@ -357,7 +357,6 @@ library
357357
358358 -- To be implemented
359359 -- , Streamly.Data.Refold
360− -- , Streamly.Data.Array.Mut
361360 -- , Streamly.Data.Binary.Encode -- Stream types
362361
363362 -- Pre-release modules
@@ -382,10 +381,10 @@ library
382381 -- streamly-core released modules in alphabetic order
383382 -- NOTE: these must be added to streamly.cabal as well
384383 , Streamly.Console.Stdio
385− , Streamly.Data.Array.Generic
386− , Streamly.Data.Array.Generic.Mut
387384 , Streamly.Data.Array
388− , Streamly.Data.Array.Mut
385+ , Streamly.Data.Array.Generic
386+ , Streamly.Data.MutArray
387+ , Streamly.Data.MutArray.Generic
389388 , Streamly.Data.Fold
390389 , Streamly.Data.Parser
391390 , Streamly.Data.Parser.ParserK
docs/User/ProjectRelated/Changelog.md+2−2
@@ -27,9 +27,9 @@ higher level operations with additional dependencies.
2727### Enhancements
2828
2929* Added the following new modules to the `streamly-core` package:
30− * Streamly.Data.Array.Mut
3130 * Streamly.Data.Array.Generic
32− * Streamly.Data.Array.Generic.Mut
31+ * Streamly.Data.MutArray
32+ * Streamly.Data.MutArray.Generic
3333 * Streamly.Data.Parser
3434 * Streamly.FileSystem.Dir
3535 * Streamly.FileSystem.File