resource-pool-catchio 0.2.0.2 → 0.2.0.3
raw patch · 3 files changed
+12/−12 lines, 3 filesdep +transformers-basePVP ok
version bump matches the API change (PVP)
Dependencies added: transformers-base
API changes (from Hackage documentation)
Files
- Data/Pool.hs +2/−3
- README.markdown +4/−4
- resource-pool-catchio.cabal +6/−5
Data/Pool.hs view
@@ -4,7 +4,7 @@ -- Module: Data.Pool -- Copyright: (c) 2011 MailRank, Inc. -- License: BSD3--- Maintainer: Bryan O'Sullivan <bos@mailrank.com>+-- Maintainer: Bryan O'Sullivan <bos@serpentine.com> -- Stability: experimental -- Portability: portable --@@ -31,7 +31,6 @@ import Control.Exception (SomeException) import Control.Monad (forM_, forever, join, liftM2, unless, when) import Control.Monad.IO.Class (liftIO)-{- import Control.Monad.IO.Control (MonadControlIO, controlIO)-} import Control.Monad.CatchIO import Data.Hashable (hash) import Data.List (partition)@@ -145,7 +144,7 @@ return (map entry stale) forM_ resources $ \resource -> do destroy resource `catch` \(_::SomeException) -> return ()- + -- | Temporarily take a resource from a 'Pool', perform an action with -- it, and return it to the pool afterwards. --
README.markdown view
@@ -9,11 +9,11 @@ and other improvements. Please report bugs via the-[github issue tracker](http://github.com/mailrank/pool/issues).+[github issue tracker](http://github.com/bos/pool/issues). -Master [git repository](http://github.com/mailrank/pool):+Master [git repository](http://github.com/bos/pool): -* `git clone git://github.com/mailrank/pool.git`+* `git clone git://github.com/bos/pool.git` There's also a [Mercurial mirror](http://bitbucket.org/bos/pool): @@ -25,4 +25,4 @@ ------- This library is written and maintained by Bryan O'Sullivan,-<bos@mailrank.com>.+<bos@serpentine.com>.
resource-pool-catchio.cabal view
@@ -1,5 +1,5 @@ name: resource-pool-catchio-version: 0.2.0.2+version: 0.2.0.3 synopsis: Fork of resource-pool, with a MonadCatchIO constraint description: This is a fork of Bryan O'Sullivan's resource-pool package. The only@@ -13,7 +13,7 @@ homepage: http://github.com/norm2782/pool license: BSD3 license-file: LICENSE-author: Bryan O'Sullivan <bos@mailrank.com>+author: Bryan O'Sullivan <bos@serpentine.com> maintainer: Jurriën Stutterheim <j.stutterheim@me.com> copyright: Copyright 2011 MailRank, Inc. category: Data, Database, Network@@ -28,14 +28,15 @@ default: False library- exposed-modules: + exposed-modules: Data.Pool- - build-depends: ++ build-depends: base == 4.*, hashable, MonadCatchIO-transformers >= 0.2, transformers,+ transformers-base >= 0.4, stm, time, vector >= 0.7