set singleton - part-cw/lambdanative GitHub Wiki
(set-singleton e operator)
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")