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


Guile Reference Manual

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

39.12.7 Character-Set Algebra

Character sets can be manipulated with the common set algebra operation, such as union, complement, intersection etc. All of these procedures provide side-effecting variants, which modify their character set argument(s).

Scheme Procedure: char-set-adjoin cs char1 ...
Scheme Procedure: char-set-adjoin! cs char1 ...
Add all character arguments to the first argument, which must be a character set.

Scheme Procedure: char-set-delete cs char1 ...
Scheme Procedure: char-set-delete! cs char1 ...
Delete all character arguments from the first argument, which must be a character set.

Scheme Procedure: char-set-complement cs
Scheme Procedure: char-set-complement! cs
Return the complement of the character set cs.

Scheme Procedure: char-set-union cs1 ...
Scheme Procedure: char-set-union! cs1 ...
Return the union of all argument character sets.

Scheme Procedure: char-set-intersection cs1 ...
Scheme Procedure: char-set-intersection! cs1 ...
Return the intersection of all argument character sets.

Scheme Procedure: char-set-difference cs1 ...
Scheme Procedure: char-set-difference! cs1 ...
Return the difference of all argument character sets.

Scheme Procedure: char-set-xor cs1 ...
Scheme Procedure: char-set-xor! cs1 ...
Return the exclusive-or of all argument character sets.

Scheme Procedure: char-set-diff+intersection cs1 ...
Scheme Procedure: char-set-diff+intersection! cs1 ...
Return the difference and the intersection of all argument character sets.


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