cached-io: A simple library to cache a single IO action with timeout

[ apache, development, library, program ] [ Propose Tags ]

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.




Manual Flags


compile with -Werror to make warnings fatal


Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info


Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


Versions [RSS],,
Dependencies base (>=4.8 && <5.0), cached-io, stm, time, transformers [details]
License Apache-2.0
Author SumAll, Inc.
Category Development
Source repo head: git clone git://
Uploaded by taphu at 2017-01-23T20:43:26Z
Distributions NixOS:
Executables test-cachedIO
Downloads 2466 total (12 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]