types.set
Provides functions for creating and manipulating sets of values. Sets differ from vectors and lists in that duplicate values are automatically removed.
set
Description
Creates a set from the provided arguments. Any duplicate values are removed automatically from the returned set. If no values are provided, an empty set is returned.
Usage
[<list>]
Examples
:emphasize-lines: 2
(set 1 (seq 5 7) 10)
|1 5 6 7 10|
(set 1 1 1 2 2 2 3 3 3)
|1 2 3|