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.

Modules

[Index]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 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 2015-02-14T17:03:50Z
Distributions LTSHaskell:0.1.1, NixOS:0.1.1, Stackage:0.1.1
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 2428 total (12 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2015-02-14 [all 1 reports]