io-region: Exception safe resource management with dynamic regions
|Dependencies||base (>=4.5 && <5.0), stm [details]|
|Copyright||Copyright (c) Yuras Shumovich 2015|
|Source repo||head: git clone email@example.com/Yuras/io-region.git|
|Uploaded||by YurasShumovich at Fri Apr 24 12:50:25 UTC 2015|
|Distributions||LTSHaskell:0.1.1, NixOS:0.1.1, Stackage:0.1.1, openSUSE:0.1.1|
|Downloads||677 total (9 in the last 30 days)|
|Rating||(no votes yet) [estimated by rule of succession]|
|Status||Docs available [build log]
Last success reported on 2015-04-24 [all 1 reports]
Hackage Matrix CI
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.
For package maintainers and hackage trustees