todos-0.5.2: Easy-to-use TODOs manager.

Todos.Default.Utils

Description

This module contains some empty configs definitions and some function fields of defaultConfig

Synopsis

Documentation

emptyBaseConfig :: BaseConfigSource

Empty BaseConfig

emptyConfig :: DefaultConfigSource

Default empty DefaultConfig (nullConfig field of defaultConfig)

composeAll :: DateTime -> DefaultConfig -> Todo -> [Todo]Source

Make a list transformer

defaultTodosFilter :: DateTime -> DefaultConfig -> [Todo] -> [Todo]Source

Default filter for TODOs (filterTodos field of defaultConfig)

parseCmdLineSource

Arguments

:: DateTime

Current date/time

-> DefaultConfig

Default config

-> [String]

Command line args

-> CmdLineParseResult DefaultConfig 

Parse command line (default function)

mkPrintConfig :: RuntimeConfig c => DateTime -> c -> TodosConfig c -> PrintConfig cSource

Prepare PrintConfig for console output functions. Is called from realTodos.