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.CachedFileSystemInternal

Description

A module containing private CachedFileSystem internals. Most developers should use CachedFileSystem instead. This module is subject to change without notice.

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.

Constructors

CachedFSDatabase 

Fields

database :: FSDatabase r
 
cache :: [r]
 
maxCacheSize :: Int
 

trim :: SizedRecord r => Int -> [r] -> [r] Source

mkCachedFSDatabase :: FilePath -> Int -> CachedFSDatabase r Source

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