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

This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.

[maintain] [Publish]

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.

Properties

Versions 0.1.0.1, 0.1.1.0, 1.1.0.0, 1.1.0.0, 1.2.0.0, 1.3.0.0
Change log None available
Dependencies base (>=4.8 && <5.0), cached-io, exceptions, stm, time, transformers [details]
License Apache-2.0
Author SumAll, Inc.
Maintainer Bellroy Tech Team <haskell@bellroy.com>
Category Development
Source repo head: git clone git://github.com:bellroy/haskell-cached-io.git
Uploaded by LukeWorth at 2023-02-27T06:24:15Z

Modules

[Index] [Quick Jump]

Flags

Manual Flags

NameDescriptionDefault
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

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees