:: Ord a => [a] -> [a] -package:heaps -package:Agda -is:exact -is:exact package:hledger-lib is:exact

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