The io-region package
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.
|Dependencies||base (>=4.5 && <5.0), stm [details]|
|Copyright||Copyright (c) Yuras Shumovich 2015|
|Source repository||head: git clone firstname.lastname@example.org/Yuras/io-region.git|
|Uploaded||Fri Apr 24 12:50:25 UTC 2015 by YurasShumovich|
|Distributions||LTSHaskell:0.1.1, NixOS:0.1.1, Stackage:0.1.1, Tumbleweed:0.1.1|
|Downloads||460 total (43 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
For package maintainers and hackage trustees