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

[ bsd3, conduit, data, database, library, network ] [ Propose Tags ]

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]
Versions [faq]
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
Distributions NixOS:
Downloads 47 total (12 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Last success reported on 2020-11-23 [all 1 reports]


[Index] [Quick Jump]


Maintainer's Corner

For package maintainers and hackage trustees

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.