tailSafe [] = [] tailSafe [1,3,4] = [3,4]
tailErr [] = error "Prelude.tail: empty list" tailErr [1,2,3] = [2,3]
>>> ordNub [3,2,1,3,2,1] [3,2,1]