on master help sign in
Rename Array/Unboxed/Stream/Fold to Array/Unboxed/Fold
commit106939a162685d4316131f8a0237d1b6341238c9 authorHarendra Kumar <harendra@composewell.com> dateTue 25 Oct 2022, 10:38 (4 years ago) parent4ddc30a
3 files changed+6−7
core/src/Streamly/Internal/Data/Array/Unboxed/Stream/Fold.hs → core/src/Streamly/Internal/Data/Array/Unboxed/Fold.hs+3−3 core/src/Streamly/Internal/Data/Array/Unboxed/Stream.hs+1−1 core/streamly-core.cabal+2−3
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 @@
11-- |
2−-- Module : Streamly.Internal.Data.Array.Unboxed.Stream.Fold
2+-- Module : Streamly.Internal.Data.Array.Unboxed.Fold
33-- Copyright : (c) 2021 Composewell Technologies
44-- License : BSD-3-Clause
55-- Maintainer : streamly@composewell.com
@@ -19,7 +19,7 @@
1919--
2020-- >>> import qualified Streamly.Data.Fold as Fold
2121-- >>> 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
2323-- >>> import qualified Streamly.Internal.Data.Stream as Stream (arraysOf)
2424-- >>> import qualified Streamly.Data.Stream as Stream
2525--
@@ -28,7 +28,7 @@
2828-- >>> ArrayStream.runArrayFold f s
2929-- "hello w"
3030--
31−module Streamly.Internal.Data.Array.Unboxed.Stream.Fold
31+module Streamly.Internal.Data.Array.Unboxed.Fold
3232 (
3333 ArrayFold (..)
3434
core/src/Streamly/Internal/Data/Array/Unboxed/Stream.hs+1−1
@@ -64,7 +64,7 @@ import Prelude hiding (null, last, (!!), read, concat, unlines)
6464import Streamly.Data.Fold (Fold)
6565import Streamly.Data.Stream (Stream)
6666import 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(..))
6868import Streamly.Internal.Data.Parser (ParseError(..))
6969import Streamly.Internal.Data.Stream
7070 (fromStreamD, fromStreamK, toStreamD, toStreamK)
core/streamly-core.cabal+2−3
@@ -321,7 +321,7 @@ library
321321 , Streamly.Internal.Data.Array
322322 , Streamly.Internal.Data.Array.Unboxed
323323 , Streamly.Internal.Data.Array.Unboxed.Mut.Stream
324− , Streamly.Internal.Data.Array.Unboxed.Stream.Fold
324+ , Streamly.Internal.Data.Array.Unboxed.Fold
325325 , Streamly.Internal.Data.Array.Unboxed.Stream
326326
327327 -- streamly-serde
@@ -357,8 +357,7 @@ library
357357 -- , Streamly.Data.Fold.Window
358358 -- , Streamly.Data.Pipe
359359 -- , 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
362361 -- , Streamly.Data.Array.Unboxed.Mut.Stream
363362 -- , Streamly.Data.Ring
364363 -- , Streamly.Data.Ring.Unboxed