| CARVIEW |
Select Language
HTTP/1.1 200 OK
Connection: keep-alive
Server: nginx/1.24.0 (Ubuntu)
Content-Type: text/html; charset=utf-8
Cache-Control: public, max-age=300
Content-Encoding: gzip
Via: 1.1 varnish, 1.1 varnish
Accept-Ranges: bytes
Age: 0
Date: Sat, 17 Jan 2026 02:00:04 GMT
X-Served-By: cache-dfw-kdfw8210052-DFW, cache-bom-vanm7210057-BOM
X-Cache: MISS, MISS
X-Cache-Hits: 0, 0
X-Timer: S1768615203.238246,VS0,VE812
Vary: Accept, Accept-Encoding
transfer-encoding: chunked
resource-registry: Track allocated resources
[Skip to Readme]
resource-registry: Track allocated resources
When the scope of a bracket doesn't enclose all uses of the resource, a
ResourceRegistry can be used instead to capture the lifetime of those
resources.
[Skip to Readme]
Downloads
- resource-registry-0.2.0.0.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
- No Candidates
| Versions [RSS] | 0.1.0.0, 0.1.1.0, 0.2.0.0 |
|---|---|
| Change log | CHANGELOG.md |
| Dependencies | base (>=4.14 && <4.22), bimap (>=0.5 && <0.6), containers (>=0.6.7 && <0.8), io-classes (>=1.8 && <1.9), mtl (>=2.3 && <2.4), nothunks (>=0.2 && <0.3) [details] |
| Tested with | ghc ==9.6 || ==9.8 || ==9.10 || ==9.12 |
| License | Apache-2.0[multiple license files] |
| Copyright | 2019-2023 Input Output Global Inc (IOG) 2023-2024 INTERSECT |
| Author | IOG Engineering Team |
| Maintainer | operations@iohk.io |
| Uploaded | by jasagredo at 2025-10-23T13:39:53Z |
| Category | Control |
| Bug tracker | https://github.com/IntersectMBO/io-classes-extra/issues |
| Source repo | head: git clone https://github.com/IntersectMBO/io-classes-extra(resource-registry) this: git clone https://github.com/IntersectMBO/io-classes-extra(tag resource-registry-0.2.0.0)(resource-registry) |
| Distributions | |
| Downloads | 242 total (11 in the last 30 days) |
| Rating | (no votes yet) [estimated by Bayesian average] |
| Your Rating |
|
| Status | Docs uploaded by user Build status unknown [no reports yet] |
Readme for resource-registry-0.2.0.0
[back to package description]resource-registry
In some cases, the lifetime of a resource is not suitable for CPS and hence
can't use bracket-like functions, for example, the resource might be tracked
inside some other data structure. In this case, the container data structure can
be allocated in a resource registry together with the resources so that an
exception will deallocate the resources in a proper order.