anydbm-1.0.7: Interface for DBM-like database systems

Portabilityportable
Stabilityprovisional
MaintainerJohn Goerzen <jgoerzen@complete.org>
Safe HaskellNone

Database.AnyDBM.MapDBM

Description

Written by John Goerzen, jgoerzen@complete.org

Support for working with Maps through the Database.AnyDBM framework.

Synopsis

Documentation

type MapDBM = MVar (Map String String)Source

The type of the MapDBM.

newMapDBM :: IO MapDBMSource

Makes a new MapDBM with an empty Map.

setMapDBM :: MapDBM -> Map String String -> IO ()Source

Sets the embedded Map in this MapDBM to the given Map.

getMapDBM :: MapDBM -> IO (Map String String)Source

Gets the embedded Map in this MapDBM.