chickadee » srfi-209 » enum-set->enum-list

enum-set->enum-list enum-setprocedure
enum-set->list enum-setprocedure

Returns a list containing the members of enum-set, whereas the set->enum-list procedure returns a list containing the names of the members of enum-set. In either case, the list will be in increasing order of the enums.

(map enum-name (enum-set->enum-list reddish)) ⇒ (red orange)
(list->enum-set (enum-set->enum-list color-set)) ⇒ color-set