Skip to content

Commit 1785cd1

Browse files
committed
Deprecate all the modules related to SVar
1 parent c1b69b9 commit 1785cd1

File tree

11 files changed

+22
-0
lines changed

11 files changed

+22
-0
lines changed

src/Streamly/Internal/Data/Fold/Prelude.hs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
{-# OPTIONS_GHC -Wno-deprecations #-}
2+
13
-- |
24
-- Module : Streamly.Internal.Data.Fold.Prelude
35
-- Copyright : (c) 2022 Composewell Technologies

src/Streamly/Internal/Data/Fold/SVar.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
--
1010
--
1111
module Streamly.Internal.Data.Fold.SVar
12+
{-# DEPRECATED "The functionality is moved to Fold.Concurrent" #-}
1213
(
1314
write
1415
, writeLimited

src/Streamly/Internal/Data/SVar.hs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
{-# OPTIONS_GHC -Wno-deprecations #-}
2+
13
-- |
24
-- Module : Streamly.Internal.Data.SVar
35
-- Copyright : (c) 2017 Composewell Technologies

src/Streamly/Internal/Data/SVar/Dispatch.hs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
{-# OPTIONS_GHC -Wno-deprecations #-}
2+
13
-- |
24
-- Module : Streamly.Internal.Data.SVar.Dispatch
35
-- Copyright : (c) 2017 Composewell Technologies
@@ -8,6 +10,7 @@
810
--
911
--
1012
module Streamly.Internal.Data.SVar.Dispatch
13+
{-# DEPRECATED "The functionality is moved to Channel.*" #-}
1114
(
1215
-- * Latency collection
1316
collectLatency

src/Streamly/Internal/Data/SVar/Pull.hs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
{-# OPTIONS_GHC -Wno-deprecations #-}
2+
13
-- |
24
-- Module : Streamly.Internal.Data.SVar.Pull
35
-- Copyright : (c) 2017 Composewell Technologies
@@ -8,6 +10,7 @@
810
--
911
--
1012
module Streamly.Internal.Data.SVar.Pull
13+
{-# DEPRECATED "The functionality is moved to Channel.*" #-}
1114
(
1215
-- * Read Output
1316
readOutputQBasic

src/Streamly/Internal/Data/SVar/Worker.hs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
{-# OPTIONS_GHC -Wno-deprecations #-}
2+
13
-- |
24
-- Module : Streamly.Internal.Data.SVar.Worker
35
-- Copyright : (c) 2017 Composewell Technologies
@@ -8,6 +10,7 @@
810
--
911
--
1012
module Streamly.Internal.Data.SVar.Worker
13+
{-# DEPRECATED "The functionality is moved to Channel.*" #-}
1114
(
1215
-- * Adjusting Limits
1316
decrementYieldLimit

src/Streamly/Internal/Data/Stream/SVar.hs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
{-# OPTIONS_GHC -Wno-deprecations #-}
2+
13
-- |
24
-- Module : Streamly.Internal.Data.Stream.SVar
35
-- Copyright : (c) 2022 Composewell Technologies

src/Streamly/Internal/Data/Stream/SVar/Eliminate.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
-- Eliminate a stream by distributing it to multiple SVars concurrently.
1111
--
1212
module Streamly.Internal.Data.Stream.SVar.Eliminate
13+
{-# DEPRECATED "The functionality is moved to Channel.*" #-}
1314
(
1415
-- * Concurrent Function Application
1516
toSVarParallel

src/Streamly/Internal/Data/Stream/SVar/Generate.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
--
1919
--
2020
module Streamly.Internal.Data.Stream.SVar.Generate
21+
{-# DEPRECATED "SVar is replaced by Channel." #-}
2122
(
2223
-- * Write to SVar
2324
toSVar

src/Streamly/Internal/Data/Unfold/Prelude.hs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
{-# OPTIONS_GHC -Wno-deprecations #-}
2+
13
-- |
24
-- Module : Streamly.Internal.Data.Unfold.Prelude
35
-- Copyright : (c) 2022 Composewell Technologies
@@ -9,6 +11,7 @@
911
module Streamly.Internal.Data.Unfold.Prelude
1012
(
1113
module Streamly.Internal.Data.Unfold.Exception
14+
-- * Deprecated
1215
, module Streamly.Internal.Data.Unfold.SVar
1316
)
1417
where

0 commit comments

Comments
 (0)