acid-state-0.16.1.3: Add ACID guarantees to any serializable Haskell data structure.
CopyrightPublicDomain
Maintainerlemmih@gmail.com
Portabilitynon-portable (uses GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Data.Acid.Memory

Description

AcidState container without a transaction log. Mostly used for testing. Supports Atomicity, Consistency and Isolation, but not Durability.

Synopsis

Documentation

openMemoryState Source #

Arguments

:: IsAcidic st 
=> st

Initial state value.

-> IO (AcidState st) 

Create an AcidState given an initial value. The state is kept only in memory, so it is not durable.