creatur-5.7.1: Framework for artificial life experiments.

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

ALife.Creatur.Persistent

Description

A state which persists between runs.

Synopsis

Documentation

mkPersistent :: a -> FilePath -> Persistent a Source

Creates a counter that will store its value in the specified file.

getPS :: Read a => StateT (Persistent a) IO a Source

putPS :: (Show a, Read a) => a -> StateT (Persistent a) IO () Source