on master help sign in
rename Streamly.List to Streamly.Internal.Data.List
a754b13Harendra Kumar
src/Streamly/Data/String.hs+1−1
@@ -40,7 +40,7 @@
40-- character array cannot be directly compared. A normalized comparison may be
40-- character array cannot be directly compared. A normalized comparison may be
41-- needed to check string equivalence correctly.
41-- needed to check string equivalence correctly.
42
42
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
44-- <src/test/PureStreams.hs> for comprehensive usage examples.
44-- <src/test/PureStreams.hs> for comprehensive usage examples.
45
45
46-- TBD write a note on performance comparison with text, bytestrings, lists and
46-- 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 @@
7{-# LANGUAGE ViewPatterns #-}
7{-# LANGUAGE ViewPatterns #-}
8
8
9-- |
9-- |
10−-- Module : Streamly.List
10+-- Module : Streamly.Internal.Data.List
11-- Copyright : (c) 2018 Composewell Technologies
11-- Copyright : (c) 2018 Composewell Technologies
12--
12--
13-- License : BSD3
13-- License : BSD3
@@ -55,7 +55,7 @@
55-- See <src/docs/streamly-vs-lists.md> for more details and
55-- See <src/docs/streamly-vs-lists.md> for more details and
56-- <src/test/PureStreams.hs> for comprehensive usage examples.
56-- <src/test/PureStreams.hs> for comprehensive usage examples.
57--
57--
58−module Streamly.List
58+module Streamly.Internal.Data.List
59 (
59 (
60#if __GLASGOW_HASKELL__ >= 800
60#if __GLASGOW_HASKELL__ >= 800
61 List (.., Nil, Cons)
61 List (.., Nil, Cons)
streamly.cabal+1−4
@@ -280,9 +280,6 @@ library
280 , Streamly.Streams.Zip
280 , Streamly.Streams.Zip
281 , Streamly.Streams.Combinators
281 , Streamly.Streams.Combinators
282
282
283− -- Pure streams
284− , Streamly.List
285−
286 -- Folds
283 -- Folds
287 , Streamly.Sink.Types
284 , Streamly.Sink.Types
288 , Streamly.Sink
285 , Streamly.Sink
@@ -318,7 +315,7 @@ library
318 , Streamly.Internal.Data.Fold
315 , Streamly.Internal.Data.Fold
319 , Streamly.Internal.Data.Unfold.Types
316 , Streamly.Internal.Data.Unfold.Types
320 , Streamly.Internal.Data.Unfold
317 , Streamly.Internal.Data.Unfold
321−
318+ , Streamly.Internal.Data.List
322 , Streamly.Internal.Prelude
319 , Streamly.Internal.Prelude
323 if !impl(ghcjs)
320 if !impl(ghcjs)
324 exposed-modules:
321 exposed-modules:
test/PureStreams.hs+1−1
@@ -17,7 +17,7 @@ import Streamly
17
17
18#ifdef USE_STREAMLY_LIST
18#ifdef USE_STREAMLY_LIST
19import Data.Functor.Identity
19import 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(..),
21 fromZipList, toZipList)
21 fromZipList, toZipList)
22import qualified Streamly.Prelude as S
22import qualified Streamly.Prelude as S
23#else
23#else