packages feed

resource-pool 0.2.3.1 → 0.2.3.2

raw patch · 2 files changed

+3/−3 lines, 2 filesdep ~monad-controlPVP: major bump suggested

API removals or changes: PVP suggests a major version bump

Dependency ranges changed: monad-control

API changes (from Hackage documentation)

- Data.Pool: instance Typeable1 LocalPool
- Data.Pool: instance Typeable1 Pool
+ Data.Pool: instance Typeable LocalPool
+ Data.Pool: instance Typeable Pool

Files

Data/Pool.hs view
@@ -295,7 +295,7 @@ -- returns immediately with 'Nothing' (ie. the action function is /not/ called). -- Conversely, if a resource can be borrowed from the pool without blocking, the -- action is performed and it's result is returned, wrapped in a 'Just'.-tryWithResource ::+tryWithResource :: forall m a b. #if MIN_VERSION_monad_control(0,3,0)     (MonadBaseControl IO m) #else@@ -310,7 +310,7 @@                 destroyResource pool local resource       putResource local resource       return ret-    Nothing -> restore . runInIO $ return Nothing+    Nothing -> restore . runInIO $ return (Nothing :: Maybe b) #if __GLASGOW_HASKELL__ >= 700 {-# INLINABLE tryWithResource #-} #endif
resource-pool.cabal view
@@ -1,5 +1,5 @@ name:                resource-pool-version:             0.2.3.1+version:             0.2.3.2 synopsis:            A high-performance striped resource pooling implementation description:   A high-performance striped pooling abstraction for managing