packages feed

async-dejafu 0.1.1.0 → 0.1.2.0

raw patch · 2 files changed

+32/−3 lines, 2 filesdep ~basedep ~dejafudep ~exceptionsPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: base, dejafu, exceptions

API changes (from Hackage documentation)

Files

Control/Concurrent/Async.hs view
@@ -83,12 +83,41 @@ import Control.Monad.Catch (finally, try, onException) import Control.Monad.Conc.Class import Control.Monad.STM.Class++#if MIN_VERSION_dejafu(0,3,0) import Control.Concurrent.Classy.STM.TMVar (newEmptyTMVar, putTMVar, readTMVar)+#else+import Control.Concurrent.STM.CTMVar (CTMVar, newEmptyCTMVar, putCTMVar, readCTMVar)+#endif  #if !MIN_VERSION_base(4,8,0) import Data.Traversable #endif +#if !MIN_VERSION_dejafu(0,3,0)+type MVar m = CVar m++newEmptyMVar :: MonadConc m => m (MVar m a)+newEmptyMVar = newEmptyCVar++putMVar :: MonadConc m => MVar m a -> a -> m ()+putMVar = putCVar++takeMVar :: MonadConc m => MVar m a -> m a+takeMVar = takeCVar++type STM   m = STMLike m+type TMVar m = CTMVar  m++newEmptyTMVar :: MonadSTM stm => stm (TMVar stm a)+newEmptyTMVar = newEmptyCTMVar++putTMVar :: MonadSTM stm => TMVar stm a -> a -> stm ()+putTMVar = putCTMVar++readTMVar :: MonadSTM stm => TMVar stm a -> stm a+readTMVar = readCTMVar+#endif  ----------------------------------------------------------------------------------------- -- Asynchronous and Concurrent Actions
async-dejafu.cabal view
@@ -2,7 +2,7 @@ -- documentation, see http://haskell.org/cabal/users-guide/  name:                async-dejafu-version:             0.1.1.0+version:             0.1.2.0 synopsis:            Run MonadConc operations asynchronously and wait for their results.  description:@@ -37,14 +37,14 @@ source-repository this   type:     git   location: https://github.com/barrucadu/dejafu.git-  tag:      async-dejafu-0.1.1.0+  tag:      async-dejafu-0.1.2.0  library   exposed-modules:     Control.Concurrent.Async   -- other-modules:          -- other-extensions:       build-depends:       base >=4.5 && <5-                     , dejafu == 0.3.*+                     , dejafu >= 0.2                      , exceptions   -- hs-source-dirs:         default-language:    Haskell2010