resourcet-pool: A small library to convert a Pool into an Acquire

[ bsd3, conduit, data, database, deprecated, library, network ] [ Propose Tags ]
Deprecated in favor of unliftio-pool

A small library to convert a Pool into an Acquire, allowing one to use the resourcet framework with a resource exported as a Pool.

[Skip to Readme]


[Index] [Quick Jump]


Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


Versions [RSS]
Change log
Dependencies base (>=4.9 && <5), resource-pool (>= && <0.3), resourcet (>=1.1.2 && <2) [details]
License BSD-3-Clause
Maintainer Brandon Chinn <>
Category Data, Database, Network, Conduit
Home page
Bug tracker
Source repo head: git clone
Uploaded by brandonchinn178 at 2020-11-23T17:33:04Z
Reverse Dependencies 1 direct, 2 indirect [details]
Downloads 327 total (9 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2020-11-23 [all 1 reports]

Readme for resourcet-pool-

[back to package description]


resource-pool provides the Pool abstraction, which performs resource allocation. Independently, resourcet provides the Acquire abstraction, which also performs resource allocation, but also plugs into the MonadResource type class. This library provides a way of converting a Pool into an Acquire, if using Acquire functions is easier for your application.

This library exports a single function

poolToAcquire :: Pool a -> Acquire a

which pretty much does what it says on the box.