How would I remove unique elements in a list, so only frequently occurring elements remain, (only using prelude functions). for example
["abc","abc","a","b","c","b"]
would return:
["abc","b"]
In the case that all elements occur exactly once, all would be returned.
If it helps, I have already implemented a sort function.