creatur-5.9.3: Framework for artificial life experiments.

Copyright(c) Amy de Buitléir 2014-2015
LicenseBSD-style
Maintaineramy@nualeargais.ie
Stabilityexperimental
Portabilityportable
Safe HaskellNone
LanguageHaskell98

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 r Source

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