homepage: https://github.com/agrafix/caching-vault#readme
changelog-type: ''
hash: bd7046ad80a7e27bdbc1470624324e0632c5ecc95ca23da56c03dff4b5e37753
test-bench-deps:
  stm: -any
  base: '>=4.7 && <5'
  time: -any
  hspec: -any
  text: -any
  timespan: -any
  stm-containers: -any
  caching-vault: -any
maintainer: Alexander Thiemann <mail@thiemann.at>
synopsis: A vault-style cache implementation
changelog: ''
basic-deps:
  stm: -any
  base: '>=4.7 && <5'
  time: -any
  text: -any
  stm-containers: -any
all-versions:
- 0.1.0.0
author: Alexander Thiemann
latest: 0.1.0.0
description-type: markdown
description: "# caching-vault\n\nA simple [vault](https://hackage.haskell.org/package/vault)
  style cache implementation based on [stm-containers](https://hackage.haskell.org/package/stm-containers).\n\n##
  Example\n\n``` haskell\nimport Data.Time\nimport qualified Data.Cache.Vault as C\n\nmain
  :: IO ()\nmain =\n  do cache <- C.newCache\n     let key :: C.Key String\n         key
  = C.mintLabeledKey \"foo\"\n     C.insert key Nothing \"cached value\" cache\n     \n
  \    now <- getCurrentTime\n     value <- C.lookup now key cache\n     case value
  of\n       Nothing -> putStrLn \"Cache miss\"\n       Just val -> putStrLn (\"Cache
  value is: \" <> val)\n```\n"
license-name: BSD-3-Clause

Update from Hackage at 2021-01-03T03:07:27Z
Update from Hackage at 2021-01-03T03:07:27Z
