manpagez: man pages & more
info guile
Home | html | info | man
[ << ] [ < ] [ Up ] [ > ] [ >> ]         [Top] [Contents] [Index] [ ? ]

6.6.4.1 Character Set 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
C Function: scm_char_set_p (obj)

Return #t if obj is a character set, #f otherwise.

Scheme Procedure: char-set= . char_sets
C Function: scm_char_set_eq (char_sets)

Return #t if all given character sets are equal.

Scheme Procedure: char-set<= . char_sets
C Function: scm_char_set_leq (char_sets)

Return #t if every character set csi is a subset of character set csi+1.

Scheme Procedure: char-set-hash cs [bound]
C Function: scm_char_set_hash (cs, bound)

Compute a hash value for the character set cs. If bound is given and non-zero, it restricts the returned value to the range 0 … bound - 1.


This document was generated on February 3, 2012 using texi2html 5.0.

© manpagez.com 2000-2025
Individual documents may contain additional copyright information.