Lists are sometimes viewed as sets by considering their elements unordered and by assuming there is no duplication of elements.