:: Ord a => [a] -> [a] -package:pandoc package:hledger-lib

Reduce a list of statuses to just one of each status, and if all statuses are present return the empty list.