creatur-5.6.1: Framework for artificial life experiments.

Portabilityportable
Stabilityexperimental
Maintaineramy@nualeargais.ie
Safe HaskellNone

ALife.Creatur.Database.CachedFileSystem

Description

A database that stores each record in a separate file and maintains a cache of recently-accessed records. The name of the file is the record's key.

Synopsis

Documentation

data CachedFSDatabase r Source

A simple database where each record is stored in a separate file, and the name of the file is the record's key.

mkCachedFSDatabase :: FilePath -> Int -> CachedFSDatabase rSource

mkFSDatabase d (re)creates the FSDatabase in the directory d.