Skip to content

a simple library to cache a single IO action with timeout

License

Notifications You must be signed in to change notification settings

glasserc/haskell-cached-io

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cached-io: cache a single IO action

Sometimes you have an action that does something really expensive whose results don't change that much. This is a simple library that lets you cache the output of that expensive action for a developer-specified length of time.

This library is slightly more powerful than io-memoize which lets you memoize the action forever.

Example

See test/test-cachedIO.hs.

Test

Testing Jenkins stuff.

About

a simple library to cache a single IO action with timeout

Resources

License

Stars

Watchers

Forks

Packages

No packages published