taskwarrior-0.3.0.0: Types and aeson instances for taskwarrior tasks
Safe HaskellNone
LanguageHaskell2010

Taskwarrior.Status

Description

This module deals with information of a task which is dependent on the status.

Synopsis

Documentation

data Status Source #

A task can be pending, deleted, completed, waiting or recurring. It is recommended to access the fields only by pattern matching since the getters are partial.

Constructors

Pending 
Deleted 

Fields

Completed 

Fields

Waiting 

Fields

Recurring 

Fields

Instances

Instances details
Eq Status Source # 
Instance details

Defined in Taskwarrior.Status

Methods

(==) :: Status -> Status -> Bool #

(/=) :: Status -> Status -> Bool #

Ord Status Source # 
Instance details

Defined in Taskwarrior.Status

Read Status Source # 
Instance details

Defined in Taskwarrior.Status

Show Status Source # 
Instance details

Defined in Taskwarrior.Status

ToJSON Status Source # 
Instance details

Defined in Taskwarrior.Status

FromJSON Status Source # 
Instance details

Defined in Taskwarrior.Status

parseFromObject :: Object -> Parser Status Source #

Takes all information that is dependent on the status from a JSON object.

toPairs :: Status -> [Pair] Source #

A list of Pairs can be used to construct a JSON object later. The result of toPairs is supposed to be combined with the rest of the fields of a task.