Safe Haskell | Safe-Infered |
---|

# Documentation

A typed, persistent store for values of arbitrary types.

This variant has more complex types so that you can create keys in the `ST`

monad.
See the module Data.Vault if you'd like to use a simpler version with the `IO`

monad.
You can also use both variants simultaneously; they share a single representation.

insert :: Key s a -> a -> Vault s -> Vault sSource

Insert a value for a given key. Overwrites any previous value.