on master help sign in
Rename Array/Unboxed/Stream/Fold to Array/Unboxed/Fold
106939aHarendra Kumar
core/src/Streamly/Internal/Data/Array/Unboxed/Stream/Fold.hs → core/src/Streamly/Internal/Data/Array/Unboxed/Fold.hsrenamed+3−3
@@ -1,5 +1,5 @@
1-- |
1-- |
2−-- Module : Streamly.Internal.Data.Array.Unboxed.Stream.Fold
2+-- Module : Streamly.Internal.Data.Array.Unboxed.Fold
3-- Copyright : (c) 2021 Composewell Technologies
3-- Copyright : (c) 2021 Composewell Technologies
4-- License : BSD-3-Clause
4-- License : BSD-3-Clause
5-- Maintainer : streamly@composewell.com
5-- Maintainer : streamly@composewell.com
@@ -19,7 +19,7 @@
19--
19--
20-- >>> import qualified Streamly.Data.Fold as Fold
20-- >>> import qualified Streamly.Data.Fold as Fold
21-- >>> import qualified Streamly.Internal.Data.Array.Unboxed.Stream as ArrayStream
21-- >>> import qualified Streamly.Internal.Data.Array.Unboxed.Stream as ArrayStream
22−-- >>> import qualified Streamly.Internal.Data.Array.Unboxed.Stream.Fold as ArrayFold
22+-- >>> import qualified Streamly.Internal.Data.Array.Unboxed.Fold as ArrayFold
23-- >>> import qualified Streamly.Internal.Data.Stream as Stream (arraysOf)
23-- >>> import qualified Streamly.Internal.Data.Stream as Stream (arraysOf)
24-- >>> import qualified Streamly.Data.Stream as Stream
24-- >>> import qualified Streamly.Data.Stream as Stream
25--
25--
@@ -28,7 +28,7 @@
28-- >>> ArrayStream.runArrayFold f s
28-- >>> ArrayStream.runArrayFold f s
29-- "hello w"
29-- "hello w"
30--
30--
31−module Streamly.Internal.Data.Array.Unboxed.Stream.Fold
31+module Streamly.Internal.Data.Array.Unboxed.Fold
32 (
32 (
33 ArrayFold (..)
33 ArrayFold (..)
34
34
core/src/Streamly/Internal/Data/Array/Unboxed/Stream.hs+1−1
@@ -64,7 +64,7 @@ import Prelude hiding (null, last, (!!), read, concat, unlines)
64import Streamly.Data.Fold (Fold)
64import Streamly.Data.Fold (Fold)
65import Streamly.Data.Stream (Stream)
65import Streamly.Data.Stream (Stream)
66import Streamly.Internal.Data.Array.Unboxed.Type (Array(..))
66import Streamly.Internal.Data.Array.Unboxed.Type (Array(..))
67−import Streamly.Internal.Data.Array.Unboxed.Stream.Fold (ArrayFold(..))
67+import Streamly.Internal.Data.Array.Unboxed.Fold (ArrayFold(..))
68import Streamly.Internal.Data.Parser (ParseError(..))
68import Streamly.Internal.Data.Parser (ParseError(..))
69import Streamly.Internal.Data.Stream
69import Streamly.Internal.Data.Stream
70 (fromStreamD, fromStreamK, toStreamD, toStreamK)
70 (fromStreamD, fromStreamK, toStreamD, toStreamK)
core/streamly-core.cabal+2−3
@@ -321,7 +321,7 @@ library
321 , Streamly.Internal.Data.Array
321 , Streamly.Internal.Data.Array
322 , Streamly.Internal.Data.Array.Unboxed
322 , Streamly.Internal.Data.Array.Unboxed
323 , Streamly.Internal.Data.Array.Unboxed.Mut.Stream
323 , Streamly.Internal.Data.Array.Unboxed.Mut.Stream
324− , Streamly.Internal.Data.Array.Unboxed.Stream.Fold
324+ , Streamly.Internal.Data.Array.Unboxed.Fold
325 , Streamly.Internal.Data.Array.Unboxed.Stream
325 , Streamly.Internal.Data.Array.Unboxed.Stream
326
326
327 -- streamly-serde
327 -- streamly-serde
@@ -357,8 +357,7 @@ library
357 -- , Streamly.Data.Fold.Window
357 -- , Streamly.Data.Fold.Window
358 -- , Streamly.Data.Pipe
358 -- , Streamly.Data.Pipe
359 -- , Streamly.Data.Array.Unboxed.Stream
359 -- , Streamly.Data.Array.Unboxed.Stream
360− -- XXX rename to Streamly.Data.Array.Unboxed.Fold
361− -- , Streamly.Data.Array.Unboxed.Stream.Fold
360+ -- , Streamly.Data.Array.Unboxed.Fold
362 -- , Streamly.Data.Array.Unboxed.Mut.Stream
361 -- , Streamly.Data.Array.Unboxed.Mut.Stream
363 -- , Streamly.Data.Ring
362 -- , Streamly.Data.Ring
364 -- , Streamly.Data.Ring.Unboxed
363 -- , Streamly.Data.Ring.Unboxed