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



39.12.6 Querying Character Sets

Access the elements and other information of a character set with these procedures.

char-set-size cs Scheme Procedure
Return the number of elements in character set cs.

char-set-count pred cs Scheme Procedure
Return the number of the elements int the character set cs which satisfy the predicate pred.

char-set->list cs Scheme Procedure
Return a list containing the elements of the character set cs.

char-set->string cs Scheme Procedure
Return a string containing the elements of the character set cs. The order in which the characters are placed in the string is not defined.

char-set-contains? cs char Scheme Procedure
Return #t iff the character ch is contained in the character set cs.

char-set-every pred cs Scheme Procedure
Return a true value if every character in the character set cs satisfies the predicate pred.

char-set-any pred cs Scheme Procedure
Return a true value if any character in the character set cs satisfies the predicate pred.