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.

Versions [faq] 0.1.0.1, 0.1.1.0, 1.1.0.0
Dependencies base (==4.7.*), stm, time [details]
License Apache-2.0
Author SumAll, Inc.
Maintainer eglassercamp@sumall.com
Category Development
Source repo head: git clone git://github.com:SumAll/haskell-cached-io.git
Uploaded by glasserc at Tue Dec 15 03:30:31 UTC 2015
Distributions NixOS:1.1.0.0
Executables test-cachedIO
Downloads 1494 total (71 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs not available [build log]
All reported builds failed as of 2016-10-27 [all 4 reports]

Modules

  • Control
    • Concurrent
      • Control.Concurrent.CachedIO

Flags

NameDescriptionDefaultType
developer

compile with -Werror to make warnings fatal

DisabledManual

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

Downloads

Maintainer's Corner

For package maintainers and hackage trustees