Skip to content
Chris Petersen edited this page Mar 24, 2016 · 2 revisions

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)
Clone this wiki locally