HORIZON HASKELLDocslts/ghc-9.10.x248f8f02026-10-05Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05

Package0.3.1.5Data

vault

a persistent store for values of arbitrary types

Modules

5 modules
  • Data.Unique.Really3An abstract interface to a unique symbol generator.
  • Data.Vault.Lazy12A persistent store for values of arbitrary types. The Vault type in this module is strict in the keys but lazy in the values.
  • Data.Vault.ST.Lazy12A persistent store for values of arbitrary types.
  • Data.Vault.ST.Strict12A persistent store for values of arbitrary types.
  • Data.Vault.Strict12A persistent store for values of arbitrary types. The Vault type in this module is strict in both keys and values.

Description

A vault is a persistent store for values of arbitrary types. It's like having first-class access to the storage space behind IORefs.

The data structure is analogous to a bank vault, where you can access different bank boxes with different keys; hence the name.

Also provided is a locker type, representing a store for a single element.

Depends on

4 packages

Used by in this set · 6