| Copyright | (c) Amy de Buitléir 2013-2015 |
|---|---|
| License | BSD-style |
| Maintainer | amy@nualeargais.ie |
| Stability | experimental |
| Portability | portable |
| Safe Haskell | None |
| Language | Haskell98 |
ALife.Creatur.Checklist
Description
A simple task list which persists between runs.
- class Checklist t where
- type PersistentChecklist = Persistent Status
- mkPersistentChecklist :: FilePath -> PersistentChecklist
Documentation
class Checklist t where Source
Methods
status :: StateT t IO Status Source
markDone :: String -> StateT t IO () Source
notStarted :: StateT t IO Bool Source
done :: StateT t IO Bool Source
Instances
type PersistentChecklist = Persistent Status Source
mkPersistentChecklist :: FilePath -> PersistentChecklist Source
Creates a counter that will store its value in the specified file.