list set - part-cw/lambdanative GitHub Wiki
(list->set l o)
Returns a set with the elements of the list and the appropriate less operator.
Parameter | Description |
---|---|
l | List of elements |
o | Less operator |
Example
> (define a (list->set '(1 2 3) <))
> (set->list a)
(1 2 3)