chickadee » srfi-209 » enum-set-difference!

enum-set-difference enum-set-1 enum-set-2procedure
enum-set-difference! enum-set-1 enum-set-2procedure

Returns an enum set containing the elements of enum-set-1 but not enum-set-2. It is an error if all the elements of the result do not belong to the same enum type.

(enum-set=? ~reddish (enum-set-difference color-set reddish))
 ⇒ #t