on master help sign in
Deprecate internal polymorphic stream modules
af85f62Adithya Kumar
benchmark/Streamly/Benchmark/Data/Stream/Transform.hs+1−1
@@ -39,7 +39,7 @@ import qualified Streamly.Internal.Data.Unfold as Unfold
39import qualified Streamly.Internal.Data.Stream.IsStream as Stream
39import qualified Streamly.Internal.Data.Stream.IsStream as Stream
40import Streamly.Internal.Data.Time.Units
40import Streamly.Internal.Data.Time.Units
41#else
41#else
42−import qualified Streamly.Internal.Data.Stream.Parallel as Stream
42+import qualified Streamly.Internal.Data.Stream.Time as Stream
43import qualified Streamly.Internal.Data.Stream as Stream
43import qualified Streamly.Internal.Data.Stream as Stream
44#endif
44#endif
45
45
src/Streamly/Internal/Data/Stream/Ahead.hs+1−1
@@ -20,7 +20,7 @@
20-- return n -- IO Int
20-- return n -- IO Int
21-- :}
21-- :}
22--
22--
23−module Streamly.Internal.Data.Stream.Ahead
23+module Streamly.Internal.Data.Stream.Ahead {-# DEPRECATED "Please use \"Streamly.Internal.Data.Stream.Concurrent\" instead." #-}
24 (
24 (
25 AheadT(..)
25 AheadT(..)
26 , Ahead
26 , Ahead
src/Streamly/Internal/Data/Stream/Async.hs+1−1
@@ -22,7 +22,7 @@
22-- return n -- IO Int
22-- return n -- IO Int
23-- :}
23-- :}
24--
24--
25−module Streamly.Internal.Data.Stream.Async
25+module Streamly.Internal.Data.Stream.Async {-# DEPRECATED "Please use \"Streamly.Internal.Data.Stream.Concurrent\" instead." #-}
26 (
26 (
27 AsyncT(..)
27 AsyncT(..)
28 , Async
28 , Async
src/Streamly/Internal/Data/Stream/Parallel.hs+1−1
@@ -20,7 +20,7 @@
20-- return n -- IO Int
20-- return n -- IO Int
21-- :}
21-- :}
22--
22--
23−module Streamly.Internal.Data.Stream.Parallel
23+module Streamly.Internal.Data.Stream.Parallel {-# DEPRECATED "Please use \"Streamly.Internal.Data.Stream.Concurrent\" instead." #-}
24 (
24 (
25 -- * Parallel Stream Type
25 -- * Parallel Stream Type
26 ParallelT(..)
26 ParallelT(..)
src/Streamly/Internal/Data/Stream/Serial.hs+1−1
@@ -14,7 +14,7 @@
14-- >>> import qualified Streamly.Data.Stream as Stream
14-- >>> import qualified Streamly.Data.Stream as Stream
15-- >>> import qualified Streamly.Prelude as IsStream
15-- >>> import qualified Streamly.Prelude as IsStream
16--
16--
17−module Streamly.Internal.Data.Stream.Serial
17+module Streamly.Internal.Data.Stream.Serial {-# DEPRECATED "Please use \"Streamly.Internal.Data.Stream\" instead." #-}
18 (
18 (
19 -- * Serial appending stream
19 -- * Serial appending stream
20 SerialT
20 SerialT
src/Streamly/Internal/Data/Stream/ZipAsync.hs+2−1
@@ -1,3 +1,4 @@
1+{-# OPTIONS_GHC -Wno-deprecations #-}
1{-# LANGUAGE UndecidableInstances #-}
2{-# LANGUAGE UndecidableInstances #-}
2
3
3-- |
4-- |
@@ -12,7 +13,7 @@
12--
13--
13-- >>> import qualified Streamly.Prelude as Stream
14-- >>> import qualified Streamly.Prelude as Stream
14--
15--
15−module Streamly.Internal.Data.Stream.ZipAsync
16+module Streamly.Internal.Data.Stream.ZipAsync {-# DEPRECATED "Please use \"Streamly.Internal.Data.Stream.Zip.Concurrent\" instead." #-}
16 ( ZipAsyncM(..)
17 ( ZipAsyncM(..)
17 , ZipAsync
18 , ZipAsync
18 , consMZipAsync
19 , consMZipAsync