Portability | portable |
---|---|
Stability | experimental |
Maintainer | amy@nualeargais.ie |
Safe Haskell | None |
ALife.Creatur.Checklist
Description
A simple task list which persists between runs.
- class Checklist t where
- type PersistentChecklist = Persistent Status
- mkPersistentChecklist :: FilePath -> PersistentChecklist
Documentation
Methods
status :: StateT t IO StatusSource
markDone :: String -> StateT t IO ()Source
notStarted :: StateT t IO BoolSource
done :: StateT t IO BoolSource
Instances
type PersistentChecklist = Persistent StatusSource
mkPersistentChecklist :: FilePath -> PersistentChecklistSource
Creates a counter that will store its value in the specified file.