query
On this page

unique

lib.unique



Remove duplicate elements from the list. O(n^2) complexity.

Example

unique [ 3 2 3 4 ]
=> [ 3 2 4 ]

Type

unique :: [a] -> [a]
(lib.lists.unique)

Noogle also knows

Aliases