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

Taskwarrior.Priority

Description

This module provides the type for the Priority of a task.

Synopsis

Documentation

parseMay :: Value -> Parser (Maybe Priority) Source #

Parses a JSON string to a Maybe Priority, fails on anything else.

data Priority Source #

A Task can have the priorities High, Medium, Low or none, which is modeled via a Maybe Priority.

Constructors

High 
Medium 
Low 

Instances

Instances details
Bounded Priority Source # 
Instance details

Defined in Taskwarrior.Priority

Enum Priority Source # 
Instance details

Defined in Taskwarrior.Priority

Eq Priority Source # 
Instance details

Defined in Taskwarrior.Priority

Ord Priority Source # 
Instance details

Defined in Taskwarrior.Priority

Read Priority Source # 
Instance details

Defined in Taskwarrior.Priority

Show Priority Source # 
Instance details

Defined in Taskwarrior.Priority

ToJSON Priority Source # 
Instance details

Defined in Taskwarrior.Priority

FromJSON Priority Source # 
Instance details

Defined in Taskwarrior.Priority