:: Ord a => [a] -> [a] -package:numeric-prelude package:hledger-lib

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