packages feed

lifted-async 0.9.1.1 → 0.9.2

raw patch · 4 files changed

+19/−6 lines, 4 filesdep ~asyncdep ~basePVP ok

version bump matches the API change (PVP)

Dependency ranges changed: async, base

API changes (from Hackage documentation)

+ Control.Concurrent.Async.Lifted: concurrently_ :: MonadBaseControl IO m => m a -> m b -> m ()
+ Control.Concurrent.Async.Lifted.Safe: concurrently_ :: forall m a b. (MonadBaseControl IO m, Forall (Pure m)) => m a -> m b -> m ()

Files

CHANGELOG.md view
@@ -1,3 +1,7 @@+## v0.9.2++* Add concurrently_ (#22)+ ## v0.9.1.1 - 2017-01-26  * Relax upper version bound for constraints
lifted-async.cabal view
@@ -1,5 +1,5 @@ name:                lifted-async-version:             0.9.1.1+version:             0.9.2 synopsis:            Run lifted IO operations asynchronously and wait for their results homepage:            https://github.com/maoe/lifted-async bug-reports:         https://github.com/maoe/lifted-async/issues@@ -35,8 +35,8 @@     Control.Concurrent.Async.Lifted     Control.Concurrent.Async.Lifted.Safe   build-depends:-      base >= 4.5 && < 4.10-    , async >= 2.0.1 && < 2.2+      base >= 4.5 && < 4.11+    , async >= 2.1.1 && < 2.2     , lifted-base >= 0.2 && < 0.3     , transformers-base >= 0.4 && < 0.5   if flag(monad-control-1)@@ -115,5 +115,5 @@  source-repository this   type: git-  tag: v0.9.1.1+  tag: v0.9.2   location: https://github.com/maoe/lifted-async.git
src/Control/Concurrent/Async/Lifted.hs view
@@ -63,7 +63,7 @@   , link, link2      -- * Convenient utilities-  , race, race_, concurrently+  , race, race_, concurrently, concurrently_   , mapConcurrently, mapConcurrently_   , forConcurrently, forConcurrently_   , Concurrently(..)@@ -361,6 +361,10 @@   withAsync right $ \b ->   waitBoth a b {-# INLINABLE concurrently #-}++concurrently_ :: MonadBaseControl IO m => m a -> m b -> m ()+concurrently_ left right = void $ concurrently left right+{-# INLINABLE concurrently_ #-}  -- | Generalized version of 'A.mapConcurrently'. mapConcurrently
src/Control/Concurrent/Async/Lifted/Safe.hs view
@@ -67,7 +67,7 @@   , Unsafe.link, Unsafe.link2      -- * Convenient utilities-  , race, race_, concurrently+  , race, race_, concurrently, concurrently_   , mapConcurrently, mapConcurrently_   , forConcurrently, forConcurrently_   , Concurrently(..)@@ -326,6 +326,11 @@   :: forall m a b. (MonadBaseControl IO m, Forall (Pure m))   => m a -> m b -> m (a, b) concurrently = liftBaseOp2_ A.concurrently++concurrently_+  :: forall m a b. (MonadBaseControl IO m, Forall (Pure m))+  => m a -> m b -> m ()+concurrently_ = liftBaseOp2_ A.concurrently_  -- | Similar to 'A.liftBaseOp_' but takes a binary function -- and leverages @'StM' m a ~ a@.