on master help sign in
Rename Array.Mut.* modules to MutArray.*
d71a8b2Harendra Kumar
core/src/Streamly/Data/Fold.hs+3−3
@@ -227,9 +227,9 @@ module Streamly.Data.Fold
227 -- , breakStream
227 -- , breakStream
228
228
229 -- * Incremental builders
229 -- * Incremental builders
230− -- | Mutable arrays ("Streamly.Data.Array.Mut") are basic builders. You can
230+ -- | Mutable arrays ("Streamly.Data.MutArray") are basic builders. You can
231− -- use the 'Streamly.Data.Array.Mut.snoc' or
231+ -- use the 'Streamly.Data.MutArray.snoc' or
232− -- 'Streamly.Data.Array.Mut.writeAppend' operations to incrementally build
232+ -- 'Streamly.Data.MutArray.writeAppend' operations to incrementally build
233 -- mutable arrays. The 'addOne' and 'addStream' combinators can be used to
233 -- mutable arrays. The 'addOne' and 'addStream' combinators can be used to
234 -- incrementally build any type of structure using a fold, including arrays
234 -- incrementally build any type of structure using a fold, including arrays
235 -- or a stream of arrays.
235 -- or a stream of arrays.
core/src/Streamly/Data/Array/Mut.hs → core/src/Streamly/Data/MutArray.hsrenamed+2−2
@@ -1,5 +1,5 @@
1-- |
1-- |
2−-- Module : Streamly.Data.Array.Mut
2+-- Module : Streamly.Data.MutArray
3-- Copyright : (c) 2022 Composewell Technologies
3-- Copyright : (c) 2022 Composewell Technologies
4--
4--
5-- License : BSD3
5-- License : BSD3
@@ -11,7 +11,7 @@
11-- random access, and mutation.
11-- random access, and mutation.
12--
12--
13
13
14−module Streamly.Data.Array.Mut
14+module Streamly.Data.MutArray
15 (
15 (
16 -- * Types
16 -- * Types
17 MutArray
17 MutArray
core/src/Streamly/Data/Array/Generic/Mut.hs → core/src/Streamly/Data/MutArray/Generic.hsrenamed+2−2
@@ -1,5 +1,5 @@
1-- |
1-- |
2−-- Module : Streamly.Data.Array.Generic.Mut
2+-- Module : Streamly.Data.MutArray.Generic
3-- Copyright : (c) 2020 Composewell Technologies
3-- Copyright : (c) 2020 Composewell Technologies
4-- License : BSD3-3-Clause
4-- License : BSD3-3-Clause
5-- Maintainer : streamly@composewell.com
5-- Maintainer : streamly@composewell.com
@@ -8,7 +8,7 @@
8--
8--
9-- Mutable variant of the "Streamly.Data.Array.Generic" module.
9-- Mutable variant of the "Streamly.Data.Array.Generic" module.
10--
10--
11−module Streamly.Data.Array.Generic.Mut
11+module Streamly.Data.MutArray.Generic
12(
12(
13 -- * Type
13 -- * Type
14 MutArray
14 MutArray
core/src/Streamly/Internal/Data/Stream/Bottom.hs+1−1
@@ -99,7 +99,7 @@ import Streamly.Internal.Data.Stream.Type
99-- >>> import Streamly.Data.Stream (Stream)
99-- >>> import Streamly.Data.Stream (Stream)
100-- >>> import System.IO.Unsafe (unsafePerformIO)
100-- >>> import System.IO.Unsafe (unsafePerformIO)
101-- >>> import qualified Streamly.Data.Array as Array
101-- >>> import qualified Streamly.Data.Array as Array
102−-- >>> import qualified Streamly.Data.Array.Mut as MArray
102+-- >>> import qualified Streamly.Data.MutArray as MArray
103-- >>> import qualified Streamly.Data.Fold as Fold
103-- >>> import qualified Streamly.Data.Fold as Fold
104-- >>> import qualified Streamly.Data.Parser as Parser
104-- >>> import qualified Streamly.Data.Parser as Parser
105-- >>> import qualified Streamly.Data.Unfold as Unfold
105-- >>> import qualified Streamly.Data.Unfold as Unfold
core/streamly-core.cabal+3−4
@@ -357,7 +357,6 @@ library
357
357
358 -- To be implemented
358 -- To be implemented
359 -- , Streamly.Data.Refold
359 -- , Streamly.Data.Refold
360− -- , Streamly.Data.Array.Mut
361 -- , Streamly.Data.Binary.Encode -- Stream types
360 -- , Streamly.Data.Binary.Encode -- Stream types
362
361
363 -- Pre-release modules
362 -- Pre-release modules
@@ -382,10 +381,10 @@ library
382 -- streamly-core released modules in alphabetic order
381 -- streamly-core released modules in alphabetic order
383 -- NOTE: these must be added to streamly.cabal as well
382 -- NOTE: these must be added to streamly.cabal as well
384 , Streamly.Console.Stdio
383 , Streamly.Console.Stdio
385− , Streamly.Data.Array.Generic
386− , Streamly.Data.Array.Generic.Mut
387 , Streamly.Data.Array
384 , Streamly.Data.Array
388− , Streamly.Data.Array.Mut
385+ , Streamly.Data.Array.Generic
386+ , Streamly.Data.MutArray
387+ , Streamly.Data.MutArray.Generic
389 , Streamly.Data.Fold
388 , Streamly.Data.Fold
390 , Streamly.Data.Parser
389 , Streamly.Data.Parser
391 , Streamly.Data.Parser.ParserK
390 , Streamly.Data.Parser.ParserK
docs/User/ProjectRelated/Changelog.md+2−2
@@ -27,9 +27,9 @@ higher level operations with additional dependencies.
27### Enhancements
27### Enhancements
28
28
29* Added the following new modules to the `streamly-core` package:
29* Added the following new modules to the `streamly-core` package:
30− * Streamly.Data.Array.Mut
31 * Streamly.Data.Array.Generic
30 * Streamly.Data.Array.Generic
32− * Streamly.Data.Array.Generic.Mut
31+ * Streamly.Data.MutArray
32+ * Streamly.Data.MutArray.Generic
33 * Streamly.Data.Parser
33 * Streamly.Data.Parser
34 * Streamly.FileSystem.Dir
34 * Streamly.FileSystem.Dir
35 * Streamly.FileSystem.File
35 * Streamly.FileSystem.File