www.delorie.com/gnu/docs/guile/guile_483.html   search  
 
Buy GNU books!


Guile Reference Manual

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

39.12.6 Querying Character Sets

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

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

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

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

Scheme Procedure: char-set->string cs
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.

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

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

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


  webmaster     delorie software   privacy  
  Copyright 2003   by The Free Software Foundation     Updated Jun 2003