on master help sign in
Deprecate some old modules
58feee2Harendra Kumar
src/Streamly/Internal/Data/Fold/SVar.hs+1
@@ -1,3 +1,4 @@
1+{-# OPTIONS_GHC -Wno-deprecations #-}
1-- |
2-- |
2-- Module : Streamly.Internal.Data.Fold.SVar
3-- Module : Streamly.Internal.Data.Fold.SVar
3-- Copyright : (c) 2017 Composewell Technologies
4-- Copyright : (c) 2017 Composewell Technologies
src/Streamly/Internal/Data/SVar.hs+1
@@ -8,6 +8,7 @@
8--
8--
9--
9--
10module Streamly.Internal.Data.SVar
10module Streamly.Internal.Data.SVar
11+ {-# DEPRECATED "SVar is replaced by Channel." #-}
11 (
12 (
12 module Streamly.Internal.Data.SVar.Type
13 module Streamly.Internal.Data.SVar.Type
13 , module Streamly.Internal.Data.SVar.Worker
14 , module Streamly.Internal.Data.SVar.Worker
src/Streamly/Internal/Data/Stream/Zip.hs+1
@@ -15,6 +15,7 @@
15-- >>> import qualified Streamly.Prelude as Stream
15-- >>> import qualified Streamly.Prelude as Stream
16--
16--
17module Streamly.Internal.Data.Stream.Zip
17module Streamly.Internal.Data.Stream.Zip
18+ {-# DEPRECATED "Use \"Streamly.Data.Stream.MkType\" instead." #-}
18 (
19 (
19 ZipSerialM (..)
20 ZipSerialM (..)
20 , ZipSerial
21 , ZipSerial
src/Streamly/Internal/Data/Stream/Zip/Concurrent.hs+1
@@ -13,6 +13,7 @@
13-- >>> import qualified Streamly.Data.Fold as Fold
13-- >>> import qualified Streamly.Data.Fold as Fold
14--
14--
15module Streamly.Internal.Data.Stream.Zip.Concurrent
15module Streamly.Internal.Data.Stream.Zip.Concurrent
16+ {-# DEPRECATED "Use \"Streamly.Data.Stream.MkType\" instead." #-}
16 (
17 (
17 ZipConcurrent (..)
18 ZipConcurrent (..)
18 )
19 )
src/Streamly/Internal/Data/Stream/ZipAsync.hs+2−1
@@ -13,7 +13,8 @@
13--
13--
14-- >>> import qualified Streamly.Prelude as Stream
14-- >>> import qualified Streamly.Prelude as Stream
15--
15--
16−module Streamly.Internal.Data.Stream.ZipAsync {-# DEPRECATED "Please use \"Streamly.Internal.Data.Stream.Zip.Concurrent\" instead." #-}
16+module Streamly.Internal.Data.Stream.ZipAsync
17+ {-# DEPRECATED "Use \"Streamly.Data.Stream.MkType\" instead." #-}
17 ( ZipAsyncM(..)
18 ( ZipAsyncM(..)
18 , ZipAsync
19 , ZipAsync
19 , consMZipAsync
20 , consMZipAsync
src/Streamly/Internal/Data/Unfold/SVar.hs+1
@@ -1,3 +1,4 @@
1+{-# OPTIONS_GHC -Wno-deprecations #-}
1-- |
2-- |
2-- Module : Streamly.Internal.Data.Unfold.SVar
3-- Module : Streamly.Internal.Data.Unfold.SVar
3-- Copyright : (c) 2019 Composewell Technologies
4-- Copyright : (c) 2019 Composewell Technologies