Node:SRFI-14 Character-Set Algebra, Next:, Previous:SRFI-14 Querying Character Sets, Up:SRFI-14



39.12.7 Character-Set Algebra

Character sets can be manipulated with the common set algebra operation, such as union, complement, intersection etc. All of these procedures provide side-effecting variants, which modify their character set argument(s).

char-set-adjoin cs char1 ... Scheme Procedure
char-set-adjoin! cs char1 ... Scheme Procedure
Add all character arguments to the first argument, which must be a character set.

char-set-delete cs char1 ... Scheme Procedure
char-set-delete! cs char1 ... Scheme Procedure
Delete all character arguments from the first argument, which must be a character set.

char-set-complement cs Scheme Procedure
char-set-complement! cs Scheme Procedure
Return the complement of the character set cs.

char-set-union cs1 ... Scheme Procedure
char-set-union! cs1 ... Scheme Procedure
Return the union of all argument character sets.

char-set-intersection cs1 ... Scheme Procedure
char-set-intersection! cs1 ... Scheme Procedure
Return the intersection of all argument character sets.

char-set-difference cs1 ... Scheme Procedure
char-set-difference! cs1 ... Scheme Procedure
Return the difference of all argument character sets.

char-set-xor cs1 ... Scheme Procedure
char-set-xor! cs1 ... Scheme Procedure
Return the exclusive-or of all argument character sets.

char-set-diff+intersection cs1 ... Scheme Procedure
char-set-diff+intersection! cs1 ... Scheme Procedure
Return the difference and the intersection of all argument character sets.