Copyright | (c) 2013-2021 Amy de Buitléir |
---|---|
License | BSD-style |
Maintainer | amy@nualeargais.ie |
Stability | experimental |
Portability | portable |
Safe Haskell | None |
Language | Haskell2010 |
A simple task list which persists between runs.
Synopsis
- class Checklist t where
- type PersistentChecklist = Persistent Status
- mkPersistentChecklist :: FilePath -> PersistentChecklist
Documentation
class Checklist t where Source #
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
Checklist PersistentChecklist Source # | |
Defined in ALife.Creatur.Checklist status :: StateT PersistentChecklist IO Status Source # markDone :: String -> StateT PersistentChecklist IO () Source # notStarted :: StateT PersistentChecklist IO Bool Source # done :: StateT PersistentChecklist IO Bool Source # setItems :: [String] -> StateT PersistentChecklist IO () Source # delete :: String -> StateT PersistentChecklist IO () Source # |
type PersistentChecklist = Persistent Status Source #
mkPersistentChecklist :: FilePath -> PersistentChecklist Source #
Creates a counter that will store its value in the specified file.