Safe Haskell | None |
---|---|
Language | Haskell2010 |
This module provides the type for the priority of a task.
Documentation
parseMay :: Value -> Parser (Maybe Priority) Source #
Parses a JSON string to a Maybe Priority, fails on anything else.
A task can have the priorities high, medium, low or none, which is modeled via a Maybe Priority.
Instances
Bounded Priority Source # | |
Enum Priority Source # | |
Eq Priority Source # | |
Ord Priority Source # | |
Defined in Taskwarrior.Priority | |
Read Priority Source # | |
Show Priority Source # | |
ToJSON Priority Source # | |
Defined in Taskwarrior.Priority |