HORIZON HASKELLDocslts/ghc-10.0.x2b276322026-10-31Search packagesCtrl K
Theme: |

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 2b27632 · 2026-10-31

Modulevault-0.3.2.0Haskell2010

Data.Vault.ST.Strict

A persistent store for values of arbitrary types. Variant for the ST monad.

The Vault type in this module is strict in both keys and values.

Contents
  1. Vault
  2. Locker
Synopsis
  • Packagevault-0.3.2.0
  • Exports12
  • LanguageHaskell2010
  • LicenceBSD-3-Clause
  • SourceStrict.hs

Vault

newtypenewtype Vault s
#
Instances2Semigroup, Monoid
  • Semigroup (Vault s)Defined in vault-0.3.2.0 · Data.Vault.ST.Strict
  • Monoid (Vault s)Defined in vault-0.3.2.0 · Data.Vault.ST.Strict
newtypenewtype Key s a
#
valueadjust :: (a -> a) -> Key s a -> Vault s -> Vault s

Adjust the value for a given key if it's present in the vault.

Locker