From 249efda55e5205b38a6d3c1337bc3229c954021e Mon Sep 17 00:00:00 2001 From: Ranjeet Ranjan Date: Sat, 1 Oct 2022 00:33:41 +0530 Subject: [PATCH] Move Streamly.Data.Array module to streamly-core (#1881) --- {src => core/src}/Streamly/Data/Array.hs | 0 core/streamly-core.cabal | 3 +++ streamly.cabal | 5 +---- 3 files changed, 4 insertions(+), 4 deletions(-) rename {src => core/src}/Streamly/Data/Array.hs (100%) diff --git a/src/Streamly/Data/Array.hs b/core/src/Streamly/Data/Array.hs similarity index 100% rename from src/Streamly/Data/Array.hs rename to core/src/Streamly/Data/Array.hs diff --git a/core/streamly-core.cabal b/core/streamly-core.cabal index 1b3bb4333..a5097cd82 100644 --- a/core/streamly-core.cabal +++ b/core/streamly-core.cabal @@ -357,6 +357,9 @@ library , Streamly.Unicode.Stream , Streamly.FileSystem.Handle + other-modules: + Streamly.Data.Array + if flag(dev) exposed-modules: Streamly.Internal.Data.Stream.StreamDK diff --git a/streamly.cabal b/streamly.cabal index c330f8dc1..850fcf9e2 100644 --- a/streamly.cabal +++ b/streamly.cabal @@ -217,6 +217,7 @@ extra-source-files: core/src/Streamly/Data/Unfold.hs core/src/Streamly/Internal/Data/Fold/Window.hs core/src/Streamly/Data/Unbox.hs + core/src/Streamly/Data/Array.hs core/src/Streamly/Data/Array/Unboxed.hs core/src/Streamly/Data/Array/Unboxed/Mut.hs core/src/Streamly/FileSystem/Handle.hs @@ -528,9 +529,6 @@ library , Streamly.Data.Fold.Tee , Streamly.Data.Array.Unboxed - other-modules: - Streamly.Data.Array - if flag(dev) exposed-modules: Streamly.Data.SmallArray , Streamly.Internal.Data.SmallArray @@ -562,7 +560,6 @@ library , deepseq >= 1.4.1 && < 1.5 , directory >= 1.2.2 && < 1.4 , exceptions >= 0.8 && < 0.11 - , ghc-prim >= 0.2 && < 0.10 , mtl >= 2.2 && < 2.4 , transformers >= 0.4 && < 0.7