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

10.8.1 Character-set constructors

Function: list->char-set char-list &optional base-cs
Function: list->char-set! char-list base-cs
[SRFI-14] Constructs a character set from a list of characters char-list. If base-cs is given, it must be a character set, and the characters in it are added to the result character set. List->char-set! is allowed, but not required, to reuse base-cs to store the result.

Function: string->char-set s &optional base-cs
Function: string->char-set! s base-cs
[SRFI-14] Like list->char-set and list->char-set!, but take a list of characters from a string s.

Function: char-set-filter pred char-set &optional base-cs
Function: char-set-filter! pred char-set base-cs
[SRFI-14] Returns a character set containing every character c in char-set such that (pred c) returns true. If a character set base-cs is given, its content is added to the result. The linear update version char-set-filter! is allowed, but not required, to modify base-cs to store the result.

Function: ucs-range->char-set lower upper &optional error? base-cs
Function: ucs-range->char-set! lower upper error? base-cs
[SRFI-14]

Function: integer-range->char-set lower upper &optional error? base-cs
Function: integer-range->char-set! lower upper error? base-cs

Function: ->char-set x
[SRFI-14]



This document was generated by Ken Dickey on November, 28 2002 using texi2html