Was trying to make a unique function that takes a list and uniques the elements in it.

Turns out that the module (or sub-module) Data.List has a function called nub that does it.