Keep program state in JSON files.
If your program manages simple state data not shared with other programs, this package provide a lightweight alternative to full ACID databases. It allows you to load state from JSON files and update those files asynchronously and periodically. Version control (using Git) is supported.
See the .cabal file for more info and link to project website the version control.
The official download location is Hackage:
http://hackage.haskell.org/package/json-state
This library is free software, and is committed to software freedom. It is released to the public domain using the CC0 Public Domain Dedication. For the boring "legal" details see the file 'COPYING'.
See the file 'INSTALL' for hints on installation. The file 'ChangeLog' explains how to see the history log of the changes done in the code. 'NEWS' provides a friendly overview of the changes for each release.