io-region: Exception safe resource management with dynamic regions

[ bsd3, control, library ] [ Propose Tags ]

Region owns resources and automatically frees them on exit. It is a plain old ADT, so it is possible to pass it to functions, put into mutable references, store in regular data types.

Resources can be freed earler or transfered to other regions.

Region itself can be used as any other resource. E.g. one region can own other one.

The library doesn't pretend to solve double throw issue.

Versions 0.1.0, 0.1.1
Dependencies base (>=4.5 && <5.0), stm [details]
License BSD-3-Clause
Copyright Copyright (c) Yuras Shumovich 2014
Author Yuras Shumovich
Maintainer shumovichy@gmail.com
Category Control
Home page https://github.com/Yuras/io-region/wiki
Source repo head: git clone git@github.com/Yuras/io-region.git
Uploaded by YurasShumovich at Sat Feb 14 17:03:50 UTC 2015
Distributions LTSHaskell:0.1.1, NixOS:0.1.1, Stackage:0.1.1
Downloads 763 total (30 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2015-02-14 [all 1 reports]
Hackage Matrix CI

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees