Index of values


A
add [USet]
add [UMap]
add ?eq u v m returns the new map which is same to m except it maps u to some value v' which satisfies eq v v'.
add [ISet]
add [IMap]
add_array [XArray]
add_buffer [XString.Buf]
add_buffer [UnicodeString.Type.Buf]
add_buffer [UText.Buf]
add_buffer [UTF8.Buf]
add_buffer b1 b2 adds the contents of b2 to b1.
add_buffer [UTF16.Buf]
add_buffer [UNF.Type.NFCBuf]
add_buffer [UCS4.Buf]
add_buffer [SubText.Type.Buf]
add_char [XString.Buf]
add_char [XString]
add_char [UnicodeString.Type.Buf]
add_char [UText.Buf]
add_char [UTF8.Buf]
Add one Unicode character to the buffer.
add_char [UTF16.Buf]
if the character is not representable, raise Out_of_range
add_char [UNF.Type.NFCBuf]
add_char [UCS4.Buf]
add_char [SubText.Type.Buf]
add_element [XArray]
add_range [USet]
add_range u1 u2 s adds the characters in the range u1 - u2 to s.
add_range [UMap]
add ?eq u1 u2 v m returns the new map which is same to m except it maps characters in the range u1-u2 to some value v' which satisfies eq v v'.
add_range [ISet]
add_range [IMap]
add_string [XString.Buf]
add_string [UnicodeString.Type.Buf]
add_string [UText.Buf]
add_string [UTF8.Buf]
Add the UTF-8 string to the buffer.
add_string [UTF16.Buf]
add_string [UNF.Type.NFCBuf]
add_string [UCS4.Buf]
add_string [SubText.Type.Buf]
add_text [XString]
add_xarray [XArray]
add_xstring [XString]
after [USet]
after u s returns the set of elements of s whose code points are greater than u.
after [UMap]
after u m restricts the domain of m to the characters whose code points are greater than u.
after [ISet]
after [IMap]
alias [CharEncoding]
alias alias name : Define alias as an alias of the encoding with the name name.
append [XString]
append [XArray]
append [UText]
array_of [XArray]
ascii [CharEncoding]
automatic [CharEncoding]
automatic name [enc_1; enc_2; ... enc_n] enc creates the new encoding name doing automatic encoding detection among enc_1, enc_2, ..., enc_n by the given order.

B
before [USet]
until u s returns the set of elements of s whose code points are smaller than u.
before [UMap]
before u m restricts the domain of m to the characters whose code points are smaller than u.
before [ISet]
before [IMap]
blit [UText]

C
canon_compare [UNF.Type]
cardinal [USet]
cardinal [ISet]
casefolding [CaseMap.Type]
Case foldding
char_of [UChar]
char_of u returns the Latin-1 representation of u.
char_stream_of [CharEncoding]
char_stream_of enc uchars converts the Unicode character stream uchars to the byte stream by the encoding enc
choose [USet]
Returns a element roughly in the middle of the set.
choose [ISet]
chr [UChar]
code n returns the Unicode character with the code number n.
chr_of_uint [UChar]
chr_of_uint n returns the Unicode character of the code number n.
clear [XString.Buf]
clear [XString]
clear [XArray]
clear [UnicodeString.Type.Buf]
clear [UText.Buf]
clear [UTF8.Buf]
Empty the buffer, but retains the internal storage which was holding the contents
clear [UTF16.Buf]
clear [UNF.Type.NFCBuf]
clear [UCS4.Buf]
clear [SubText.Type.Buf]
code [UChar]
code u returns the Unicode code number of u.
combined_class [UCharInfo]
Combined class A combined class is an integer of 0 -- 255, showing how this character interacts to other combined characters.
compare [XString]
compare [UnicodeString.Type]
compare [UText]
compare [UTF8]
Code point comparison by the lexicographic order.
compare [UTF16]
Code point comparison
compare [USet]
compare [UCol.Type]
For locale, see Locale.
compare [UChar]
compare u1 u2 returns, a value > 0 if u1 has a larger Unicode code number than u2, 0 if u1 and u2 are the same Unicode character, a value < 0 if u1 has a smaller Unicode code number than u2.
compare [UCS4]
Code point comparison
compare [SubText.Type]
compare [ISet]
compare_caseless [CaseMap.Type]
Caseless comparison
compare_index [XString]
compare_index [XArray]
compare_index [UnicodeString.Type]
compare_index t i j returns a positive integer if i is the location placed after j in t, 0 if i and j point the same location, and a negative integer if i is the location placed before j in t.
compare_index [UText]
compare_index [UTF8]
compare_index s i1 i2 returns a value < 0 if i1 is the position located before i2, 0 if i1 and i2 points the same location, a value > 0 if i1 is the position located after i2.
compare_index [UTF16]
compare_aux s i1 i2 returns If i1 is the position located before i2, a value < 0,, If i1 and i2 points the same location, 0,, If i1 is the position located after i2, a value > 0.
compare_index [UCS4]
compare_aux s i1 i2 returns If i1 is the position located before i2, a value < 0, If i1 and i2 points the same location, 0, If i1 is the position located after i2, a value > 0.
compare_index [SubText.Type]
compare_with_key [UCol.Type]
Comparison with the sort key.
compile [URe.Type]
Compile regular expressions.
compl [USet]
compl s returns the compliment of s.
compl [ISet]
contain [Locale]
contain loc1 loc2 : If loc1 is contained in loc2 then true otherwise false.
contents [XString.Buf]
contents [UnicodeString.Type.Buf]
contents [UText.Buf]
contents [UTF8.Buf]
contents buf returns the contents of the buffer.
contents [UTF16.Buf]
contents [UNF.Type.NFCBuf]
contents [UCS4.Buf]
contents [SubText.Type.Buf]
contents_string [UText.Buf]
context [SubText.Type]
context t returns the tuple (s, i, j) such that t = refer s i j.
copy [XString]
copy [XArray]
copy [UText]
create [XString.Buf]
create [UnicodeString.Type.Buf]
create n creates the buffer.
create [UText.Buf]
create n creates the buffer which initially can contain n Unicode characters.
create [UTF8.Buf]
create n creates the buffer with the initial size n-bytes.
create [UTF16.Buf]
create n : creates the buffer with the initial size n.
create [UNF.Type.NFCBuf]
create [UCS4.Buf]
create [SubText.Type.Buf]

D
decode [CharEncoding.Type]
decode enc s converts the string s encoded by the encoding enc to the Unicode text.
diff [USet]
diff [ISet]
domain [UMap]
Domain.
domain [IMap]

E
elements [USet]
elements [ISet]
empty [USet]
empty [UMap]
empty [ISet]
empty [IMap]
encode [CharEncoding.Type]
encode enc t converts the Unicode text t to the string by the encoding enc.
eq [UChar]
Equality by code point comparison
equal [USet]
equal [ISet]
escaped_uchar [UPervasives]
escaped_utf8 [UPervasives]
excerpt [SubText.Type]
excerpt t copies the contents of t as a new ur_text.
exists [USet]
exists [ISet]

F
fill [UText]
filter [USet]
filter [ISet]
find [UMap]
find [IMap]
first [XString]
first [XArray]
first [UnicodeString.Type]
The location of the first character in the storage.
first [UText]
first [UTF8]
The position of the head of the first Unicode character.
first [UTF16]
first s : The position of the head of the last Unicode character.
first [UCS4]
first s : The position of the head of the last Unicode character.
first [SubText.Type]
fold [USet]
fold [UMap]
fold [ISet]
fold [IMap]
fold_range [USet]
fold_range f s x is equivalent to f u_i u_(i+1) (... (f u_3 u_4 (f u_1 u_2 x))) if s is consisted of the intervals u1-u2, u3-u4, ..., u_i-u_(i + 1) in increasing order.
fold_range [UMap]
fold_range f m x is equivalent to f u_(2n) u_(2n+1) v_n (... (f u_1 u_2 v_1 x)) where all characters in the range u_(2k)-u_(2k+1) are mapped to v_k and u_1 < u_3 < ...
fold_range [ISet]
fold_range [IMap]
for_all [USet]
for_all [ISet]
from [USet]
from u s returns the set of elements of s whose code points are equal or greater than u.
from [UMap]
from u m restricts the domain of m to the characters whose code points are equal or greater than u.
from [ISet]
from [IMap]

G
general_category [UCharInfo]
get [XString]
get [XArray]
get [UnicodeString.Type]
get t i : i-th character of the storage.
get [UText]
get [UTF8]
get s n returns n-th Unicode character of s.
get [UTF16]
get s n returns n-th Unicode character of s.
get [UCharTbl.Char]
get [UCharTbl.Bytes]
get [UCharTbl.Bits]
get [UCharTbl.Bool]
get [UCharTbl.Type]
get [UCharTbl]
get [UCS4]
get s n returns n-th Unicode character of s.
get [SubText.Type]

I
imap_of_umap [UMap]
init [XString]
init [XArray]
init [UnicodeString.Type]
init len f creates a new storage.
init [UText]
init [UTF8]
init len f returns a new string which contains len Unicode characters.
init [UTF16]
init len f returns a new string which contains len Unicode characters.
init [UCS4]
init len f returns a new string which contains len Unicode characters.
init [SubText.Type]
init_ustring [UText]
int_of [UChar]
Alias of uint_code
int_of_uchar [UPervasives]
inter [USet]
inter [ISet]
is_empty [USet]
is_empty [UMap]
is_empty [ISet]
is_empty [IMap]
iset_of_uset [USet]
iter [XString]
iter [XArray]
iter [UnicodeString.Type]
iter [UText]
iter [UTF8]
iter f s applies f to all Unicode characters in s.
iter [UTF16]
iter f s Apply f to all Unicode characters in s.
iter [USet]
iter [UMap]
iter [UCS4]
iter f s : Apply f to all Unicode characters in s.
iter [SubText.Type]
iter [ISet]
iter [IMap]
iter_range [USet]
iter_range proc s feeds the intervals contained in s to proc in increasing order.
iter_range [UMap]
iter proc m : For each contingent region u1-u2 that is mapped to a constant v, proc u1 u2 v is called.
iter_range [ISet]
iter_range [IMap]

L
last [XString]
last [XArray]
last [UnicodeString.Type]
The location of the last character in the storage.
last [UText]
last [UTF8]
The position of the head of the last Unicode character.
last [UTF16]
last s : The position of the head of the last Unicode character.
last [UCS4]
last s : The position of the head of the last Unicode character.
last [SubText.Type]
latin1 [CharEncoding]
length [XString.Buf]
length [XString]
length [XArray]
length [UnicodeString.Type]
The number of Unicode characters in the storage
length [UText.Buf]
length [UText]
length [UTF8]
length s returns the number of Unicode characters contained in s
length [UTF16]
length s returns the number of Unicode characters contained in s
length [UCS4]
length s returns the number of Unicode characters contained in s
length [SubText.Type]
load_casefolding_tbl [UCharInfo]
load_composition_exclusion_tbl [UCharInfo]
Whether the given composed character is used in NFC or NFKC
load_composition_tbl [UCharInfo]
The return value [(u_1, u'_1); ... (u_n, u'_1)] means for the given character u, u u_i forms the canonical composition u'_i.
load_conditional_casing_tbl [UCharInfo]
load_decomposition_tbl [UCharInfo]
load_general_category_map [UCharInfo]
load_property_set [UCharInfo]
Load the set of characters of the given character type.
load_property_set_by_name [UCharInfo]
Load the set of characters of the given name of the character type.
load_property_tbl [UCharInfo]
Load the table for the given character type.
load_property_tbl_by_name [UCharInfo]
Load the table for the given name of the character type.
load_script_map [UCharInfo]
load_to_lower1_tbl [UCharInfo]
load_to_title1_tbl [UCharInfo]
load_to_upper1_tbl [UCharInfo]
look [XString]
look [XArray]
look [UnicodeString.Type]
look t i : The character in the location i of t.
look [UText]
look [UTF8]
look s i returns the Unicode character of the location i in the string s.
look [UTF16]
look s i returns the Unicode character of the location i in the string s.
look [UCS4]
look s i returns the Unicode character of the location i in the string s.
look [SubText.Type]
lowercase [CaseMap.Type]

M
make [XString]
make [XArray]
make [UText]
The semantics of these function are similar to the equivalents of string.
map [UMap]
map [IMap]
map_to_set [UMap]
map_to_set p m returns the set of characters which are mapped to values satisfying the predicate p by m.
map_to_set [IMap]
mapi [UMap]
mapi [IMap]
max_elt [USet]
max_elt [ISet]
mem [USet]
mem [UMap]
mem [ISet]
mem [IMap]
min_elt [USet]
min_elt [ISet]
move [XString]
move [XArray]
move [UnicodeString.Type]
move t i n : if n >= 0, then returns n-th character after i and otherwise returns -n-th character before i.
move [UText]
move [UTF8]
move s i n returns n-th Unicode character after i if n >= 0, n-th Unicode character before i if n < 0.
move [UTF16]
move [UCS4]
move s i n : If n >= 0, returns n-th Unicode character after i.
move [SubText.Type]

N
name_of [CharEncoding]
Returns the name of the encoding.
new_enc [CharEncoding]
new_enc name enc registers the new encoding enc under the name name
next [XString]
next [XArray]
next [UnicodeString.Type]
next [UText]
next [UTF8]
next s i returns the position of the head of the Unicode character located immediately after i.
next [UTF16]
next s i returns the position of the head of the Unicode character located immediately after i.
next [UCS4]
next s i returns the position of the head of the Unicode character located immediately after i.
next [SubText.Type]
nfc [UNF.Type]
nfc_append [UNF.Type]
nfd [UNF.Type]
nfd_inc [UNF.Type]
nfkc [UNF.Type]
nfkd [UNF.Type]
no_group [URe]
Remove `Group from the regular expressions.
nth [XString]
nth [XArray]
nth [UnicodeString.Type]
nth t n : the location of the n-th character in t.
nth [UText]
nth [UTF8]
nth s n returns the position of the n-th Unicode character.
nth [UTF16]
nth s n returns the position of the n-th Unicode character.
nth [UCS4]
nth s n returns the position of the n-th Unicode character.
nth [SubText.Type]

O
of_char [UChar]
of_char c returns the Unicode character of the Latin-1 character c
of_int [UChar]
Alias of chr_of_uint
of_map [UCharTbl.Char]
of_map [UCharTbl.Bytes]
of_map [UCharTbl.Bits]
of_map [UCharTbl.Type]
of_map def m creates the table which has the same value to m.
of_name [CharEncoding]
Returns the encoding of the given name.
of_set [UCharTbl.Bool]
of_string [UText]
Conversion from Latin-1 strings.
out_of_range [XString]
out_of_range [XArray]
out_of_range [UnicodeString.Type]
out_of_range [UText]
out_of_range [UTF8]
out_of_range s i tests whether i is a position inside of s.
out_of_range [UTF16]
out_of_range s i tests whether i is inside of s.
out_of_range [UCS4]
out_of_range s i tests whether i points the valid position of s.
out_of_range [SubText.Type]

P
partition [USet]
partition [ISet]
prev [XString]
prev [XArray]
prev [UnicodeString.Type]
prev [UText]
prev [UTF8]
prev s i returns the position of the head of the Unicode character located immediately before i.
prev [UTF16]
prev s i returns the position of the head of the Unicode character located immediately before i.
prev [UCS4]
prev s i returns the position of the head of the Unicode character located immediately before i.
prev [SubText.Type]
printer_uchar [UPervasives]
printer_utf8 [UPervasives]
put_nfc [UNF.Type]
put_nfd [UNF.Type]
put_nfkc [UNF.Type]
put_nfkd [UNF.Type]

Q
quote [UReStr]

R
ranges [USet]
The list of the intervals contained in the set.
ranges [ISet]
read [Locale]
read root suffix reader locale reads locale information using reader.
recode_string [CharEncoding]
recode_string ~in_enc ~out_enc s converts the string s from in_enc to out_enc.
refer [SubText.Type]
refer t i j returns the part of t from i until j.
regexp [UReStr]
regexp_match [URe.Type]
regexp_match ?sem r t i tries matching r and substrings of t beginning from i.
regexp_string [UReStr]
remove [USet]
remove [UMap]
remove [ISet]
remove [IMap]
remove_range [USet]
remove_range u1 u2 s removes the characters in the range u1 - u2 from s.
remove_range [UMap]
remove_range u1 u2 m removes u1-u2 from the domain of m
remove_range [ISet]
remove_range [IMap]
reset [XString.Buf]
reset [XString]
reset [XArray]
reset [UnicodeString.Type.Buf]
reset [UText.Buf]
reset [UTF8.Buf]
Empty the buffer and de-allocate the internal storage.
reset [UTF16.Buf]
reset [UNF.Type.NFCBuf]
reset [UCS4.Buf]
reset [SubText.Type.Buf]

S
script [UCharInfo]
search [UCol.Type]
search_forward [URe.Type]
search_forward ?sem r t i searches a substring of t matching r from i.
search_with_key [UCol.Type]
set [XString]
set [XArray]
set [UText]
set s i u sets the i-th character in s to u.
set_to_map [UMap]
Constant map.
set_to_map [IMap]
shrink [XString]
shrink [XArray]
singleton [USet]
singleton [ISet]
sort_key [UCol.Type]
Binary comparison of sort_key gives the same result as compare.
stream_of_channel [OOChannel]
Convert obj_input_channel to stream
string_match [URe.Type]
string_match r t i tests whether r can match a substring of t beginning from i.
sub [XString]
sub [XArray]
sub [UText]
subset [USet]
subset [ISet]

T
titlecase [CaseMap.Type]
Capitalize the beginning of words

U
uchar_of_int [UPervasives]
ucs4 [CharEncoding]
uint_code [UChar]
uint_code u returns the Unicode code number of u.
umap_of_imap [UMap]
union [USet]
union [ISet]
until [USet]
until u s returns the set of elements of s whose code points are equal or smaller than u.
until [UMap]
until u m restricts the domain of m to the characters whose code points are equal or smaller than u.
until [ISet]
until [IMap]
uppercase [CaseMap.Type]
ur_index_of [SubText.Type]
Conversion from indexes of sub-texts to ur_texts.
uset_of_iset [USet]
ustream_of [CharEncoding]
ustream_of enc chars converts the byte stream chars to the Unicode character stream by the encoding enc.
ustring_of [XString]
ustring_of_utext [UText]
utext_of [XString]
utext_of_ustring [UText]
utf16 [CharEncoding]
utf16be [CharEncoding]
utf16le [CharEncoding]
utf32 [CharEncoding]
utf32be [CharEncoding]
utf32le [CharEncoding]
utf8 [CharEncoding]

V
validate [UTF8]
validate s successes if s is valid UTF-8, otherwise raises Malformed_code.
validate [UTF16]
validate s If s is valid UTF-16 then successes otherwise raises Malformed_code.
validate [UCS4]
validate s If s is valid UCS4 then successes otherwise raises Malformed_code.