packages feed

broadcast-chan 0.2.0 → 0.2.0.1

raw patch · 3 files changed

+17/−24 lines, 3 filesdep ~stmPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: stm

API changes (from Hackage documentation)

Files

BroadcastChan/Internal.hs view
@@ -13,10 +13,6 @@ import Control.Monad.IO.Unlift (MonadIO(..)) import System.IO.Unsafe (unsafeInterleaveIO) -#if !MIN_VERSION_base(4,6,0)-import Control.Exception (evaluate, onException)-#endif- -- | Used with DataKinds as phantom type indicating whether a 'BroadcastChan' -- value is a read or write end. data Direction = In  -- ^ Indicates a write 'BroadcastChan'@@ -243,14 +239,3 @@             Just x'' -> step x x'' >>= go listen             Nothing -> done x {-# INLINABLE foldBChanM #-}--#if !MIN_VERSION_base(4,6,0)-{-# INLINE modifyMVarMasked #-}-modifyMVarMasked :: MVar a -> (a -> IO (a,b)) -> IO b-modifyMVarMasked m io =-  mask_ $ do-    a      <- takeMVar m-    (a',b) <- (io a >>= evaluate) `onException` putMVar m a-    putMVar m a'-    return b-#endif
CHANGELOG.md view
@@ -0,0 +1,11 @@+0.2.0.1 [2018.09.24]+--------------------+* Loosen STM bounds for new stackage release.+* Ditch GHC 7.6.3 support.++0.2.0 [2018.09.20]+------------------+* Complete rework to be actually practical.+* Switched to standalone module hierarchy.+* Added functionality for parallel tasks.+* Add module which uses exceptions, instead of results to signal failure.
broadcast-chan.cabal view
@@ -1,5 +1,5 @@ Name:               broadcast-chan-Version:            0.2.0+Version:            0.2.0.1  Homepage:           https://github.com/merijn/broadcast-chan Bug-Reports:        https://github.com/merijn/broadcast-chan/issues@@ -14,8 +14,8 @@ Category:           System Cabal-Version:      >= 1.10 Build-Type:         Simple-Tested-With:        GHC == 7.6.3, GHC == 7.8.4, GHC == 7.10.3, GHC == 8.0.2,-                    GHC == 8.2.2, GHC == 8.4.3, GHC == 8.6.1+Tested-With:        GHC == 7.8.4, GHC == 7.10.3, GHC == 8.0.2, GHC == 8.2.2,+                    GHC == 8.4.3, GHC == 8.6.1  Extra-Source-Files: README.md                   , CHANGELOG.md@@ -85,9 +85,6 @@   Default-Language:     Haskell2010   GHC-Options:          -Wall -O2 -fno-warn-unused-do-bind -  if impl(ghc < 7.8)-    GHC-Options:        -fno-warn-warnings-deprecations-   Exposed-Modules:      BroadcastChan                         BroadcastChan.Extra                         BroadcastChan.Throw@@ -103,7 +100,7 @@                         Trustworthy                         TupleSections -  Build-Depends:        base >= 4.6 && < 5+  Build-Depends:        base >= 4.7 && < 5                ,        unliftio-core >= 0.1.1 && < 0.2  Benchmark sync@@ -128,7 +125,7 @@                ,        atomic-primops == 0.8.*                ,        criterion >= 1.2 && < 1.6                ,        deepseq >= 1.1 && < 1.5-               ,        stm >= 2.4 && < 2.5+               ,        stm >= 2.4 && < 2.6  Benchmark channels   Default-Language:     Haskell2010@@ -151,7 +148,7 @@                ,        async >= 2.0 && < 2.3                ,        criterion >= 1.2 && < 1.6                ,        deepseq >= 1.1 && < 1.5-               ,        stm >= 2.4 && < 2.5+               ,        stm >= 2.4 && < 2.6    if impl(ghc < 7.10)     Build-Depends:      bifunctors >= 0.1 && < 5.6