on master help sign in
rename Streamly.List to Streamly.Internal.Data.List
commita754b130306f1bef16704bc0bd7d6a1cc085f555 authorHarendra Kumar <harendra.kumar@gmail.com> dateTue 24 Sep 2019, 23:16 (7 years ago) parent1475c2f
4 files changed+5−8
src/Streamly/Data/String.hs+1−1 src/Streamly/List.hs → src/Streamly/Internal/Data/List.hs+2−2 streamly.cabal+1−4 test/PureStreams.hs+1−1
src/Streamly/Data/String.hs+1−1
@@ -40,7 +40,7 @@
4040-- character array cannot be directly compared. A normalized comparison may be
4141-- needed to check string equivalence correctly.
4242
43−-- See "Streamly.List", <src/docs/streamly-vs-lists.md> for more details and
43+-- See "Streamly.Internal.Data.List", <src/docs/streamly-vs-lists.md> for more details and
4444-- <src/test/PureStreams.hs> for comprehensive usage examples.
4545
4646-- TBD write a note on performance comparison with text, bytestrings, lists and
src/Streamly/List.hs → src/Streamly/Internal/Data/List.hsrenamed+2−2
@@ -7,7 +7,7 @@
77{-# LANGUAGE ViewPatterns #-}
88
99-- |
10−-- Module : Streamly.List
10+-- Module : Streamly.Internal.Data.List
1111-- Copyright : (c) 2018 Composewell Technologies
1212--
1313-- License : BSD3
@@ -55,7 +55,7 @@
5555-- See <src/docs/streamly-vs-lists.md> for more details and
5656-- <src/test/PureStreams.hs> for comprehensive usage examples.
5757--
58−module Streamly.List
58+module Streamly.Internal.Data.List
5959 (
6060#if __GLASGOW_HASKELL__ >= 800
6161 List (.., Nil, Cons)
streamly.cabal+1−4
@@ -280,9 +280,6 @@ library
280280 , Streamly.Streams.Zip
281281 , Streamly.Streams.Combinators
282282
283− -- Pure streams
284− , Streamly.List
285−
286283 -- Folds
287284 , Streamly.Sink.Types
288285 , Streamly.Sink
@@ -318,7 +315,7 @@ library
318315 , Streamly.Internal.Data.Fold
319316 , Streamly.Internal.Data.Unfold.Types
320317 , Streamly.Internal.Data.Unfold
321−
318+ , Streamly.Internal.Data.List
322319 , Streamly.Internal.Prelude
323320 if !impl(ghcjs)
324321 exposed-modules:
test/PureStreams.hs+1−1
@@ -17,7 +17,7 @@ import Streamly
1717
1818#ifdef USE_STREAMLY_LIST
1919import Data.Functor.Identity
20−import Streamly.List (List(..), pattern Cons, pattern Nil, ZipList(..),
20+import Streamly.Internal.Data.List (List(..), pattern Cons, pattern Nil, ZipList(..),
2121 fromZipList, toZipList)
2222import qualified Streamly.Prelude as S
2323#else