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


Guile Reference Manual

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

39.12.3 Predicates/Comparison

Use these procedures for testing whether an object is a character set, or whether several character sets are equal or subsets of each other. char-set-hash can be used for calculating a hash value, maybe for usage in fast lookup procedures.

Scheme Procedure: char-set? obj
Return #t if obj is a character set, #f otherwise.

Scheme Procedure: char-set= cs1 ...
Return #t if all given character sets are equal.

Scheme Procedure: char-set<= cs1 ...
Return #t if every character set csi is a subset of character set csi+1.

Scheme Procedure: char-set-hash cs [bound]
Compute a hash value for the character set cs. If bound is given and not #f, it restricts the returned value to the range 0 ... bound - 1.


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