| Safe Haskell | Safe-Infered |
|---|
Data.Vault
Documentation
type Vault = Vault RealWorldSource
A typed, persistent store for values of arbitrary types.
This variant is the simplest and creates keys in the IO monad.
See the module Data.Vault.ST if you want to use it with the ST monad instead.
instance Monoid Vault
insert :: Key a -> a -> Vault -> VaultSource
Insert a value for a given key. Overwrites any previous value.