manpagez: man pages & more
info guile
Home | html | info | man
[ << ] [ < ] [ Up ] [ > ] [ >> ]         [Top] [Contents] [Index] [ ? ] 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_set …
C Function: scm_char_set_eq (char_sets)

Return #t if all given character sets are equal.

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

Return #t if every character set char_seti is a subset of character set char_seti+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 April 20, 2013 using texi2html 5.0.

© 2000-2019
Individual documents may contain additional copyright information.