broadcast-chan-conduit 0.2.1.1 → 0.2.1.2
raw patch · 6 files changed
+20/−14 lines, 6 filesdep ~basedep ~broadcast-chandep ~containersPVP: major bump suggested
API removals or changes: PVP suggests a major version bump
Dependency ranges changed: base, broadcast-chan, containers, transformers
API changes (from Hackage documentation)
- BroadcastChan.Conduit: Handle :: (a -> SomeException -> m Action) -> Handler a
+ BroadcastChan.Conduit: Handle :: (a -> SomeException -> m Action) -> Handler (m :: Type -> Type) a
- BroadcastChan.Conduit: Simple :: Action -> Handler a
+ BroadcastChan.Conduit: Simple :: Action -> Handler (m :: Type -> Type) a
- BroadcastChan.Conduit: foldBChan :: (MonadIO m, MonadIO n) => (x -> a -> x) -> x -> (x -> b) -> BroadcastChan d a -> n (m b)
+ BroadcastChan.Conduit: foldBChan :: forall m n x a b (d :: Direction). (MonadIO m, MonadIO n) => (x -> a -> x) -> x -> (x -> b) -> BroadcastChan d a -> n (m b)
- BroadcastChan.Conduit: foldBChanM :: (MonadIO m, MonadIO n) => (x -> a -> m x) -> m x -> (x -> m b) -> BroadcastChan d a -> n (m b)
+ BroadcastChan.Conduit: foldBChanM :: forall m n x a b (d :: Direction). (MonadIO m, MonadIO n) => (x -> a -> m x) -> m x -> (x -> m b) -> BroadcastChan d a -> n (m b)
- BroadcastChan.Conduit: getBChanContents :: () => BroadcastChan dir a -> IO [a]
+ BroadcastChan.Conduit: getBChanContents :: forall (dir :: Direction) a. BroadcastChan dir a -> IO [a]
- BroadcastChan.Conduit: isClosedBChan :: MonadIO m => BroadcastChan dir a -> m Bool
+ BroadcastChan.Conduit: isClosedBChan :: forall m (dir :: Direction) a. MonadIO m => BroadcastChan dir a -> m Bool
- BroadcastChan.Conduit: newBChanListener :: MonadIO m => BroadcastChan dir a -> m (BroadcastChan Out a)
+ BroadcastChan.Conduit: newBChanListener :: forall m (dir :: Direction) a. MonadIO m => BroadcastChan dir a -> m (BroadcastChan Out a)
- BroadcastChan.Conduit: type In = In
+ BroadcastChan.Conduit: type In = 'In
- BroadcastChan.Conduit: type Out = Out
+ BroadcastChan.Conduit: type Out = 'Out
- BroadcastChan.Conduit.Throw: Handle :: (a -> SomeException -> m Action) -> Handler a
+ BroadcastChan.Conduit.Throw: Handle :: (a -> SomeException -> m Action) -> Handler (m :: Type -> Type) a
- BroadcastChan.Conduit.Throw: Simple :: Action -> Handler a
+ BroadcastChan.Conduit.Throw: Simple :: Action -> Handler (m :: Type -> Type) a
- BroadcastChan.Conduit.Throw: foldBChan :: (MonadIO m, MonadIO n) => (x -> a -> x) -> x -> (x -> b) -> BroadcastChan d a -> n (m b)
+ BroadcastChan.Conduit.Throw: foldBChan :: forall m n x a b (d :: Direction). (MonadIO m, MonadIO n) => (x -> a -> x) -> x -> (x -> b) -> BroadcastChan d a -> n (m b)
- BroadcastChan.Conduit.Throw: foldBChanM :: (MonadIO m, MonadIO n) => (x -> a -> m x) -> m x -> (x -> m b) -> BroadcastChan d a -> n (m b)
+ BroadcastChan.Conduit.Throw: foldBChanM :: forall m n x a b (d :: Direction). (MonadIO m, MonadIO n) => (x -> a -> m x) -> m x -> (x -> m b) -> BroadcastChan d a -> n (m b)
- BroadcastChan.Conduit.Throw: getBChanContents :: () => BroadcastChan dir a -> IO [a]
+ BroadcastChan.Conduit.Throw: getBChanContents :: forall (dir :: Direction) a. BroadcastChan dir a -> IO [a]
- BroadcastChan.Conduit.Throw: isClosedBChan :: MonadIO m => BroadcastChan dir a -> m Bool
+ BroadcastChan.Conduit.Throw: isClosedBChan :: forall m (dir :: Direction) a. MonadIO m => BroadcastChan dir a -> m Bool
- BroadcastChan.Conduit.Throw: newBChanListener :: MonadIO m => BroadcastChan dir a -> m (BroadcastChan Out a)
+ BroadcastChan.Conduit.Throw: newBChanListener :: forall m (dir :: Direction) a. MonadIO m => BroadcastChan dir a -> m (BroadcastChan Out a)
- BroadcastChan.Conduit.Throw: type In = In
+ BroadcastChan.Conduit.Throw: type In = 'In
- BroadcastChan.Conduit.Throw: type Out = Out
+ BroadcastChan.Conduit.Throw: type Out = 'Out
Files
- BroadcastChan/Conduit.hs +1/−1
- BroadcastChan/Conduit/Internal.hs +1/−1
- BroadcastChan/Conduit/Throw.hs +1/−1
- CHANGELOG.md +6/−0
- LICENSE +1/−1
- broadcast-chan-conduit.cabal +10/−10
BroadcastChan/Conduit.hs view
@@ -2,7 +2,7 @@ ------------------------------------------------------------------------------- -- | -- Module : BroadcastChan.Conduit--- Copyright : (C) 2014-2018 Merijn Verstraaten+-- Copyright : (C) 2014-2021 Merijn Verstraaten -- License : BSD-style (see the file LICENSE) -- Maintainer : Merijn Verstraaten <merijn@inconsistent.nl> -- Stability : experimental
BroadcastChan/Conduit/Internal.hs view
@@ -10,7 +10,7 @@ import Control.Monad.Trans.Class (lift) import Control.Monad.IO.Unlift (MonadUnliftIO, UnliftIO(..), askUnliftIO) import Data.Acquire (ReleaseType(..), allocateAcquire, mkAcquireType)-import Data.Conduit+import Data.Conduit (ConduitM, (.|), awaitForever, yield) import qualified Data.Conduit.List as C import Data.Foldable (traverse_) import Data.Void (Void)
BroadcastChan/Conduit/Throw.hs view
@@ -2,7 +2,7 @@ ------------------------------------------------------------------------------- -- | -- Module : BroadcastChan.Conduit.Throw--- Copyright : (C) 2014-2018 Merijn Verstraaten+-- Copyright : (C) 2014-2021 Merijn Verstraaten -- License : BSD-style (see the file LICENSE) -- Maintainer : Merijn Verstraaten <merijn@inconsistent.nl> -- Stability : experimental
CHANGELOG.md view
@@ -1,3 +1,9 @@+0.2.1.2 [2021.12.01]+--------------------+* Updated bounds for GHC 9.0 and 9.2.+* Tighten bound on broadcast-chan to only use version with fixed race+ condition.+ 0.2.1.1 [2020.03.05] -------------------- * Updated imports to support `unliftio-core` 0.2.x
LICENSE view
@@ -1,4 +1,4 @@-Copyright (c) 2013-2017, Merijn Verstraaten+Copyright (c) 2013-2021, Merijn Verstraaten All rights reserved.
broadcast-chan-conduit.cabal view
@@ -1,21 +1,21 @@+Cabal-Version: 2.2 Name: broadcast-chan-conduit-Version: 0.2.1.1+Version: 0.2.1.2 Homepage: https://github.com/merijn/broadcast-chan Bug-Reports: https://github.com/merijn/broadcast-chan/issues Author: Merijn Verstraaten Maintainer: Merijn Verstraaten <merijn@inconsistent.nl>-Copyright: Copyright © 2014-2019 Merijn Verstraaten+Copyright: Copyright © 2014-2021 Merijn Verstraaten -License: BSD3+License: BSD-3-Clause License-File: LICENSE Category: System-Cabal-Version: >= 1.10 Build-Type: Simple Tested-With: GHC == 8.0.2, GHC == 8.2.2, GHC == 8.4.4, GHC == 8.6.5,- GHC == 8.8.3, GHC == 8.10.1+ GHC == 8.8.4, GHC == 8.10.7, GHC == 9.0.1, GHC == 9.2.1 Extra-Source-Files: CHANGELOG.md @@ -28,7 +28,7 @@ Library Default-Language: Haskell2010- GHC-Options: -Wall -O2 -fno-warn-unused-do-bind+ GHC-Options: -Wall -O2 -Wno-unused-do-bind Exposed-Modules: BroadcastChan.Conduit BroadcastChan.Conduit.Throw Other-Modules: BroadcastChan.Conduit.Internal@@ -38,18 +38,18 @@ ScopedTypeVariables Trustworthy - Build-Depends: base >= 4.7 && < 4.15- , broadcast-chan == 0.2.1.*+ Build-Depends: base >= 4.8 && < 4.17+ , broadcast-chan == 0.2.1.2 , conduit >= 1.2 && < 1.4 , resourcet >= 1.1 && < 1.3- , transformers >= 0.2 && < 0.6+ , transformers >= 0.2 && < 0.7 , unliftio-core >= 0.1 && < 0.3 Test-Suite conduit Default-Language: Haskell2010 Type: exitcode-stdio-1.0 Main-Is: ConduitTest.hs- GHC-Options: -Wall -fno-warn-unused-do-bind -threaded+ GHC-Options: -Wall -Wno-unused-do-bind -threaded -with-rtsopts=-qg Hs-Source-Dirs: tests Build-Depends: base