"Andrew Dalke" <adalke at mindspring.com> writes: > Do you want unix-style unique where repeats are merged into > one, so that 1 2 2 1 -> 1 2 1 or do you want it to return That list is not already sorted and so uniqing it should throw an exception. Uniq should only have to work on sorted lists.