Skip to content
Chris Petersen edited this page Mar 24, 2016 · 1 revision

Creates a set with a single element and the specified less operator.

Parameter Description
e Element
operator less operator

Example

> (define a (set-singleton "H" string<?))
> (set->list a)
("H")
Clone this wiki locally