cached-io: A simple library to cache a single IO action with timeout
A simple library that caches an expensive IO action. This produces an IO action that, when run, either runs the expensive action and saves its result for a period of time, or re-uses the saved value. This amortizes the cost of the expensive IO action without a lot of complexity. See the test program for an example of how to use it.
Flags
Manual Flags
| Name | Description | Default |
|---|---|---|
| developer | compile with -Werror to make warnings fatal | Disabled |
Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info
Downloads
- cached-io-0.1.0.1.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
| Versions [RSS] | 0.1.0.1, 0.1.1.0, 1.1.0.0, 1.2.0.0, 1.3.0.0, 1.3.1.0, 1.3.2.0 |
|---|---|
| Dependencies | base (>=4.7 && <4.8), stm, time [details] |
| License | Apache-2.0 |
| Author | SumAll, Inc. |
| Maintainer | eglassercamp@sumall.com |
| Uploaded | by glasserc at 2015-08-10T18:12:22Z |
| Category | Development |
| Source repo | head: git://github.com:SumAll/haskell-cached-io.git, repo type tag |
| Executables | test-cachedIO |
| Downloads | 3029 total (26 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-08-10 [all 1 reports] |