| Copyright | (c) Amy de Buitléir 2012-2014 |
|---|---|
| License | BSD-style |
| Maintainer | amy@nualeargais.ie |
| Stability | experimental |
| Portability | portable |
| Safe Haskell | None |
| Language | Haskell98 |
ALife.Creatur.Database.FileSystem
Description
A ridiculously simple database that stores each record in a separate file. The name of the file is the record's key.
- data FSDatabase r
- mkFSDatabase :: FilePath -> FSDatabase r
Documentation
data FSDatabase 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.
Instances
| Eq (FSDatabase r) | |
| Show (FSDatabase r) | |
| Database (FSDatabase r) | |
| type DBRecord (FSDatabase r) = r |
mkFSDatabase :: FilePath -> FSDatabase r Source
(re)creates the FSDatabase in the
directory mkFSDatabase dd.