chickadee » srfi-14 » char-set-map

char-set-map proc csprocedure

PROC is a char->char procedure. Apply it to all the characters in the char-set CS, and collect the results into a new character set.

Essentially lifts PROC from a char->char procedure to a char-set -> char-set procedure.

Example:

(char-set-map char-downcase cset)