|
- ( * ) [Standard]
Integer multiplication.
- ( * ) [Bool]
- ( * ) [Numeric.Numeric]
- ( * ) [Big_int]
- ( * ) [Complex]
- ( * ) [Float]
- ( * ) [Int]
Multiplication.
- ( * ) [Native_int]
- ( * ) [Num]
- ( * ) [Safe_float]
- ( * ) [Safe_int]
Multiplication.
- ( ** ) [Standard]
Exponentiation
- ( ** ) [Bool]
- ( ** ) [Numeric.Numeric]
- ( ** ) [Big_int]
- ( ** ) [Complex]
- ( ** ) [Float]
- ( ** ) [Int]
a ** b computes ab
- ( ** ) [Native_int]
- ( ** ) [Num]
- ( ** ) [Safe_float]
- ( ** ) [Safe_int]
a ** b computes ab
- ( *** ) [Standard]
Function pairing.
- ( **> ) [Standard]
Function application.
- ( *. ) [Standard]
Floating-point multiplication
- ( ~* ) [Future.Parser_co]
As zero_plus without arguments.
- (!!) [Extlib.PathGen.PathType.OperatorLift]
Prefix operator that converts primitive string to ustring.
- (!!) [Future.PathGen.PathType.OperatorLift]
Prefix operator that converts primitive string to ustring.
- (!) [Standard]
!r returns the current contents of reference r.
- (!) [Ref]
!r returns the current contents of reference r.
- (!=) [Standard]
- (&&&) [Standard]
Applying two functions to the same argument.
- (&&) [Standard]
The boolean ``and''.
- (&&) [Bool]
The boolean ``and''.
- (&) [Standard]
- (+) [Standard]
Integer addition.
- (+) [Bool]
- (+) [Numeric.Numeric]
- (+) [Big_int]
- (+) [Complex]
- (+) [Float]
- (+) [Int]
Addition.
- (+) [Native_int]
- (+) [Num]
- (+) [Safe_float]
- (+) [Safe_int]
Addition.
- (+.) [Standard]
Floating-point addition
- (-) [Standard]
Integer subtraction.
- (-) [Bool]
- (-) [Numeric.Numeric]
- (-) [Big_int]
- (-) [Complex]
- (-) [Float]
- (-) [Int]
Subtraction.
- (-) [Native_int]
- (-) [Num]
- (-) [Safe_float]
- (-) [Safe_int]
Subtraction.
- (--) [Standard]
Enumerate numbers.
- (--) [Enum]
As range, without the label.
- (--) [Numeric.Discrete]
- (--) [Big_int]
- (--) [Int]
Enumerate an interval.
- (--) [Int32]
Enumerate an interval.
- (--) [Int64]
Enumerate an interval.
- (--) [Native_int]
Enumerate an interval.
- (--) [Char]
Produce the enumeration of a segment of characters.
- (---) [Standard]
As --, but accepts enumerations in reverse order.
- (---) [Enum]
As --, but accepts enumerations in reverse order.
- (---) [Numeric.Discrete]
- (---) [Big_int]
- (---) [Int]
Enumerate an interval.
- (---) [Int32]
Enumerate an interval.
- (---) [Int64]
Enumerate an interval.
- (---) [Native_int]
Enumerate an interval.
- (--.) [Standard]
(a, step) --. b) creates a float enumeration from a to b with an
increment of step between elements.
- (--.) [Enum]
(a, step) --. b) creates a float enumeration from a to b with an
increment of step between elements.
- (--~) [Standard]
As ( -- ), but for characters.
- (--~) [Enum]
As ( -- ), but for characters.
- (-.) [Standard]
Floating-point subtraction
- (-|) [Standard]
Function composition.
- (/) [Standard]
Integer division.
- (/) [Bool]
- (/) [Numeric.Numeric]
- (/) [Big_int]
- (/) [Complex]
- (/) [Float]
- (/) [Int]
Integer division.
- (/) [Native_int]
- (/) [Num]
- (/) [Safe_float]
- (/) [Safe_int]
Integer division.
- (/.) [Standard]
Floating-point division.
- (//) [Standard]
Filtering (pronounce this operator name "such that").
- (//) [Enum]
Filtering (pronounce this operator name "such that").
- (//@) [Extlib.PathGen.PathType.Operators]
basepath//@relpath catenates two paths.
- (//@) [Future.PathGen.PathType.Operators]
basepath//@relpath catenates two paths.
- (/:) [Extlib.PathGen.PathType.Operators]
path/:name is a path of name located in a directory path.
- (/:) [Future.PathGen.PathType.Operators]
path/:name is a path of name located in a directory path.
- (/@) [Standard]
- (/@) [Enum]
- (:=) [Standard]
r := a stores the value of a in reference r.
- (:=) [Ref]
r := a stores the value of a in reference r.
- (<) [Standard]
- (<) [Bool]
- (<) [Numeric.Numeric]
- (<) [Big_int]
- (<) [Complex]
- (<) [Float]
- (<) [Int]
- (<) [Native_int]
- (<) [Num]
- (<) [Safe_float]
- (<) [Safe_int]
- (</) [Num]
- (<=) [Standard]
- (<=) [Bool]
- (<=) [Numeric.Numeric]
- (<=) [Big_int]
- (<=) [Complex]
- (<=) [Float]
- (<=) [Int]
- (<=) [Native_int]
- (<=) [Num]
- (<=) [Safe_float]
- (<=) [Safe_int]
- (<=/) [Num]
- (<>) [Standard]
- (<>) [Bool]
- (<>) [Numeric.Numeric]
- (<>) [Big_int]
- (<>) [Complex]
- (<>) [Float]
- (<>) [Int]
- (<>) [Native_int]
- (<>) [Num]
- (<>) [Safe_float]
- (<>) [Safe_int]
- (<>/) [Num]
- (<|>) [Future.Parser_co]
Accept one of two parsers
- (=) [Standard]
e1 = e2 tests for structural equality of e1 and e2.
- (=) [Bool]
- (=) [Numeric.Numeric]
- (=) [Big_int]
- (=) [Complex]
- (=) [Float]
- (=) [Int]
- (=) [Native_int]
- (=) [Num]
- (=) [Safe_float]
- (=) [Safe_int]
- (=/) [Num]
- (==) [Standard]
e1 == e2 tests for physical equality of e1 and e2.
- (>) [Standard]
- (>) [Bool]
- (>) [Numeric.Numeric]
- (>) [Big_int]
- (>) [Complex]
- (>) [Float]
- (>) [Int]
- (>) [Native_int]
- (>) [Num]
- (>) [Safe_float]
- (>) [Safe_int]
- (>/) [Num]
- (>::) [Future.Parser_co]
As cons
- (>=) [Standard]
Structural ordering functions.
- (>=) [Bool]
- (>=) [Numeric.Numeric]
- (>=) [Big_int]
- (>=) [Complex]
- (>=) [Float]
- (>=) [Int]
- (>=) [Native_int]
- (>=) [Num]
- (>=) [Safe_float]
- (>=) [Safe_int]
- (>=/) [Num]
- (>>=) [Future.Parser_co]
As bind
- (>>=) [Future.Result]
as bind
- (>>>) [Future.Parser_co]
As bind, but ignoring the result
- (@) [Standard]
List concatenation.
- (@/) [Standard]
Mapping operators.
- (@/) [Enum]
Mapping operators.
- (^) [Standard]
String concatenation.
- (^:^) [Lazy_list]
As cons: x^:^l is the lazy list with head x and tail l
- (^@^) [Lazy_list]
As lazy append
- (^^) [Standard]
f1 ^^ f2 catenates formats f1 and f2.
- (^^) [Future.Parser_co]
p ^^ n is the same thing as times n p
- (^^^) [Rope]
- (asr) [Standard]
n asr m shifts n to the right by m bits.
- (land) [Standard]
Bitwise logical and.
- (lor) [Standard]
Bitwise logical or.
- (lsl) [Standard]
n lsl m shifts n to the left by m bits.
- (lsr) [Standard]
n lsr m shifts n to the right by m bits.
- (lxor) [Standard]
Bitwise logical exclusive or.
- (mod) [Standard]
Integer remainder.
- (|-) [Standard]
Function composition.
- (|>) [Standard]
Function application.
- (||) [Standard]
The boolean ``or''.
- (||) [Bool]
The boolean ``or''.
- (~+) [Future.Parser_co]
As one_plus
- (~-) [Standard]
Unary negation.
- (~-.) [Standard]
Unary negation.
- (~?) [Future.Parser_co]
As maybe
|
A |
- abs [Standard]
Return the absolute value of the argument.
- abs [Bool]
- abs [Numeric.Numeric]
- abs [Big_int]
- abs [Complex]
abs c returns the module of this complex number,
i.e.
- abs [Float]
The absolute value of a floating point number.
- abs [Int]
Return the absolute value of its argument.
- abs [Int32]
Return the absolute value of its argument.
- abs [Int64]
Return the absolute value of its argument.
- abs [Native_int]
Return the absolute value of its argument.
- abs [Num]
- abs [Safe_float]
The absolute value of a floating point number.
- abs [Safe_int]
Return the absolute value of its argument.
- abs_float [Standard]
Return the absolute value of the argument.
- abstract_tag [Obj]
- accept [Unix]
Accept connections on the given socket.
- access [Unix]
Check that the process has the given permissions over the named
file.
- acos [Standard]
- acos [Float]
- acos [Safe_float]
- add [Dllist]
add n a Creates a new node containing data a and inserts it into
the list after node n.
- add [Dyn_array]
add darr v appends v onto darr.
- add [Hashtbl.S]
- add [Hashtbl]
Hashtbl.add tbl x y adds a binding of x to y in table tbl.
- add [Hashtbl.Labels]
- add [Extlib.ExtHashtbl.Hashtbl.S]
- add [Extlib.ExtHashtbl.Hashtbl.S.Labels]
- add [Hashtbl.Cap]
Hashtbl.add tbl x y adds a binding of x to y in table tbl.
- add [Hashtbl.Cap.Labels]
- add [Hashtbl.S.Labels]
- add [Ref_list]
Adds an element at the end - O(n)
- add [Queue]
add x q adds the element x at the end of the queue q.
- add [Map.S]
add x y m returns a map containing the same bindings as
m, plus a binding of x to y.
- add [Extlib.ExtMap.Map.S.Labels]
- add [Extlib.ExtMap.Map.S]
add x y m returns a map containing the same bindings as
m, plus a binding of x to y.
- add [Map.S.Labels]
- add [Multi_pmap]
add x y m returns a map containing the same bindings as
m, plus a binding of x to y.
- add [PMap]
add x y m returns a map containing the same bindings as
m, plus a binding of x to y.
- add [PSet]
add x s returns a set containing all elements of s,
plus x.
- add [Set.S]
add x s returns a set containing all elements of s,
plus x.
- add [Extlib.ExtSet.Set.S]
add x s returns a set containing all elements of s,
plus x.
- add [Bool]
- add [Numeric.Numeric]
- add [Big_int]
- add [Complex]
Addition
- add [Float]
- add [Int]
Addition.
- add [Int32]
Addition.
- add [Int64]
Addition.
- add [Native_int]
Addition.
- add [Num]
- add [Safe_float]
- add [Safe_int]
Addition.
- add [Weak.S]
add t x adds x to t.
- add [Batlib_Baselib_Weak.S]
add t x adds x to t.
- add [Opt_parse.OptParser]
Add an option to the option parser.
- add_buffer [Buffer]
add_buffer b1 b2 appends the current contents of buffer b2
at the end of buffer b1.
- add_buffer [UTF8.Buf]
add_buffer b1 b2 adds the contents of b2 to b1.
- add_channel [Buffer]
- add_char [Buffer]
add_char b c appends the character c at the end of the buffer b.
- add_char [UTF8.Buf]
Add one Unicode character to the buffer.
- add_group [Opt_parse.OptParser]
Add a group to the option parser.
- add_initializer [Oo.Internal]
- add_input [Buffer]
add_input b ic n reads exactly n character from the input ic
and stores them at the end of buffer b.
- add_int_big_int [Big_int]
Addition of a small integer to a big integer.
- add_sort [Ref_list]
Adds an element in a sorted list, using optional comparator
or 'compare' as default.
- add_string [Buffer]
add_string b s appends the string s at the end of the buffer b.
- add_string [UTF8.Buf]
Add the UTF-8 string to the buffer.
- add_substitute [Buffer]
add_substitute b f s appends the string pattern s at the end
of the buffer b with substitution.
- add_substring [Buffer]
add_substring b s ofs len takes len characters from offset
ofs in string s and appends them at the end of the buffer b.
- advance [Future.Char_parser]
Advance by one char.
- advance [Future.UChar_parser]
Advance by one char.
- alarm [Unix]
Schedule a SIGALRM signal after the given number of seconds.
- align [Arg]
Align the documentation strings by inserting spaces at the first
space, according to the length of the keyword.
- all_warnings [Compilers]
- allocated_bytes [Gc]
Return the total number of bytes allocated since the program was
started.
- always [Event]
always v returns an event that is always ready for
synchronization.
- always [Threads.Event]
always v returns an event that is always ready for
synchronization.
- any [Future.Parser_co]
Accept any singleton value.
- apnd [Stream]
apnd fla flb equals [<fla;flb>].
- append [Array]
Array.append v1 v2 returns a fresh array containing the
concatenation of the arrays v1 and v2.
- append [Array.Cap]
Array.append v1 v2 returns a fresh array containing the
concatenation of the arrays v1 and v2.
- append [Dllist]
append n a Creates a new node containing data a and inserts it into
the list after node n.
- append [Dyn_array]
append src dst adds all elements of src to the end of dst.
- append [Enum]
append e1 e2 returns an enumeration that will enumerate over all
elements of e1 followed by all elements of e2.
- append [Seq]
append s1 s2 returns the sequence which first returns all
elements of s1 then all elements of s2.
- append [Vect.RANDOMACCESS]
- append [Vect]
append c r returns a new vect with the c element at the end
in amortized O(1) time.
- append [Vect.Make]
append c r returns a new vect with the c element at the end
in amortized O(1) time.
- append [Lazy_list]
Lazy append
- append [List]
Catenate two lists.
- append [UTF8]
Concatenate two UTF8 strings
- append [Rope]
append r u concatenates the r and u ropes.
- append [Future.PathGen.PathType]
- append [Extlib.PathGen.PathType]
- append_char [Rope]
append_char c r returns a new rope with the c character at the end
in amortized O(1) time.
- approx [Num]
approx n return the integer closest to n
- approx_num_exp [Num]
Approximate a number by a decimal.
- approx_num_fix [Num]
- arg [Complex]
Argument.
- args [Standard]
An enumeration of the arguments passed to this program through the command line.
- argv [Shell]
The command line arguments given to the process.
- array1_of_genarray [Big_array]
Return the one-dimensional big array corresponding to the given
generic big array.
- array2_of_genarray [Big_array]
Return the two-dimensional big array corresponding to the given
generic big array.
- array3_of_genarray [Big_array]
Return the three-dimensional big array corresponding to the given
generic big array.
- array_of_sexp [SExpr]
array_of_sexp conv sexp converts S-expression sexp to a value
of type 'a array using conversion function conv, which converts
an S-expression to a value of type 'a.
- as_encoded [Char_encodings]
as_encoded x enc returns an element of type t used to mark
that x is encoded with encoding enc.
- asin [Standard]
- asin [Float]
- asin [Safe_float]
- assoc [Seq]
assoc a s returns the value associated with key a in the
sequence of pairs s.
- assoc [Lazy_list]
assoc a l returns the value associated with key a in the list of
pairs l.
- assoc [Lazy_list.Exceptionless]
assoc a l returns Some b where b is the value associated with key a
in the list of pairs l.
- assoc [Lazy_list.Labels.Exceptionless]
- assoc [List]
assoc a l returns the value associated with key a in the list of
pairs l.
- assoc [List.Exceptionless]
assoc a l returns Some b where b is the value associated with key a
in the list of pairs l.
- assoc [List.Labels.LExceptionless]
- assoc_inv [List]
assoc_inv b l returns the key associated with value b in the list of
pairs l.
- assoc_inv [List.Exceptionless]
assoc_inv b l returns Some a where a is the key associated with value a
in the list of pairs l.
- assoc_inv [List.Labels.LExceptionless]
- assq [Lazy_list]
- assq [Lazy_list.Exceptionless]
- assq [Lazy_list.Labels.Exceptionless]
- assq [List]
- assq [List.Exceptionless]
- assq [List.Labels.LExceptionless]
- at [Seq]
at l n returns the n-th element of the sequence l or raise
Invalid_argument is the index is outside of l bounds.
- at [Seq.Exceptionless]
- at [Vect]
as get
- at [Lazy_list]
at l n returns the n-th element of the list l or raise
Invalid_index is the index is outside of l bounds.
- at [Lazy_list.Exceptionless]
If n is inside the bounds of l, at l n returns `Ok x, where
x is the n-th element of the list l.
- at [Lazy_list.Labels.Exceptionless]
- at [List]
at l n returns the n-th element of the list l or raise
Invalid_index is the index is outside of l bounds.
- at [List.Exceptionless]
If n is inside the bounds of l, at l n returns Ok x, where
x is the n-th element of the list l.
- at [List.Labels.LExceptionless]
- at_end [UTF8.Byte]
- at_exit [Standard]
Register the given function to be called at program
termination time.
- at_index [Ref_list.Index]
Return the element of ref list at the specified index
raise Invalid_index if the index is outside 0 ; length-1
- atan [Standard]
- atan [Float]
- atan [Safe_float]
- atan2 [Standard]
The usual trigonometric functions.
- atan2 [Float]
The usual trigonometric functions.
- atan2 [Safe_float]
The usual trigonometric functions.
|
B |
- backwards [Array]
Returns an enumeration of the elements of an array, from last to first.
- backwards [Array.Cap]
Returns an enumeration of the elements of an array, from end to start.
- backwards [Ref_list]
Returns an enumeration of current elements in the ref list, going from last to first
- backwards [Vect.RANDOMACCESS]
- backwards [Vect]
Returns an enumeration of the elements of a vector, from last to first.
- backwards [List]
Returns an enumeration of the elements of a list.
- backwards [Set.S]
Return an enumeration of all elements of the given set.
- backwards [Extlib.ExtSet.Set.S]
Return an enumeration of all elements of the given set.
- backwards [UTF8]
- backwards [Rope]
Returns an enumeration of the characters of a rope, from last to first.
- backwards [String]
Returns an enumeration of the characters of a string, from last to first.
- backwards [String.Cap]
Returns an enumeration of the characters of a string, from last to first.
- balance [Vect]
balance r returns a balanced copy of the r vect.
- balance [Vect.Make]
balance r returns a balanced copy of the r vect.
- balance [Rope]
balance r returns a balanced copy of the r rope.
- basename [Path]
Split a file name into directory name / base file name.
- beginning_of_input [Scanf.Scanning]
Scanning.beginning_of_input ib tests the beginning of input condition of
the given scanning buffer.
- belongs [Future.PathGen.PathType]
belongs base sub is true when sub descends from base, i.e.
- belongs [Extlib.PathGen.PathType]
belongs base sub is true when sub descends from base, i.e.
- big_int_of_int [Big_int]
Convert a small integer to a big integer.
- big_int_of_num [Num]
- big_int_of_sexp [SExpr]
big_int_of_sexp sexp converts S-expression sexp to a value
of type Big_int.big_int.
- big_int_of_string [Big_int]
Convert a string to a big integer, in decimal.
- bind [Monad.S]
Monadic binding.
- bind [Option]
bind f (Some x) returns f x and bind f None returns None.
- bind [Unix]
Bind a socket to an address.
- bind [Future.Parser_co]
Monadic-style combination:
- bind [Future.Result]
Monadic composition.
- bits [Random]
Return 30 random bits in a nonnegative integer.
- bits [Random.State]
- bits_of [IO]
Read an enumeration of bits
- bits_of_float [Int32]
Return the internal representation of the given float according
to the IEEE 754 floating-point ``single format'' bit layout.
- bits_of_float [Int64]
Return the internal representation of the given float according
to the IEEE 754 floating-point ``double format'' bit layout.
- blit [Array]
Array.blit v1 o1 v2 o2 len copies len elements
from array v1, starting at element number o1, to array v2,
starting at element number o2.
- blit [Array.Cap]
Array.blit v1 o1 v2 o2 len copies len elements
from array v1, starting at element number o1, to array v2,
starting at element number o2.
- blit [Array.Cap.Labels]
- blit [Array.Labels]
- blit [Big_array.Genarray]
Copy all elements of a big array in another big array.
- blit [Big_array.Array1]
Copy the first big array to the second big array.
- blit [Big_array.Array2]
Copy the first big array to the second big array.
- blit [Big_array.Array3]
Copy the first big array to the second big array.
- blit [Dyn_array]
blit src srcidx dst dstidx len copies len elements from src
starting with index srcidx to dst starting at dstidx.
- blit [Buffer]
Buffer.blit b srcoff dst dstoff len copies len characters from
the current contents of the buffer b starting at offset off,
starting at character number srcoff, to string dst, starting at
character number dstoff.
- blit [Rope]
blit src srcoff dst dstoff len returns a copy
of dst in which len characters have been copied
from rope src, starting at character number srcoff, to
rope dst, starting at character number dstoff.
- blit [String]
String.blit src srcoff dst dstoff len copies len characters
from string src, starting at character number srcoff, to
string dst, starting at character number dstoff.
- blit [String.Cap]
String.blit src srcoff dst dstoff len copies len characters
from string src, starting at character number srcoff, to
string dst, starting at character number dstoff.
- blit [Weak]
Weak.blit ar1 off1 ar2 off2 len copies len weak pointers
from ar1 (starting at off1) to ar2 (starting at off2).
- bool [Random]
Random.bool () returns true or false with probability 0.5 each.
- bool [Random.State]
- bool_of_sexp [SExpr]
bool_of_sexp sexp converts S-expression sexp to a value of type
bool.
- bool_of_string [Standard]
Convert the given string to a boolean.
- bounded_full_split [Str]
Same as Str.bounded_split_delim, but returns
the delimiters as well as the substrings contained between
delimiters.
- bounded_split [Str]
Same as Str.split, but splits into at most n substrings,
where n is the extra integer parameter.
- bounded_split_delim [Str]
Same as Str.bounded_split, but occurrences of the
delimiter at the beginning and at the end of the string are
recognized and returned as empty strings in the result.
- bprintf [Format]
Same as sprintf above, but instead of printing on a string,
writes into the given extensible buffer.
- bprintf [Printf]
- bprintf [Print]
This function behaves as Print.fprintf but prints into a buffer rather than into an output.
- bprintf2 [Printf]
As Printf.printf but writes to a buffer instead
of printing to the output.
- break [Enum]
Negated span.
- broadcast [Condition]
broadcast c restarts all processes waiting on the
condition variable c.
- broadcast [Threads.Condition]
broadcast c restarts all processes waiting on the
condition variable c.
- browse [Batteries_config]
- bscanf [Scanf]
bscanf ib fmt r1 ... rN f reads arguments for the function f, from the
scanning buffer ib, according to the format string fmt, and applies f
to these values.
- bscanf_format [Scanf]
bscanf_format ib fmt f reads a format string token from the scannning
buffer ib, according to the given format string fmt, and applies f to
the resulting format string value.
- bulk_enum [Rope]
Returns an enumeration of the UTF-8 encoded strings of a rope.
- bulk_filter_map [Rope]
bulk_filter_map f l calls (f a0) (f a1).... (f an) where a0..an are
the UTF-encoded strings of l.
- bulk_fold [Rope]
- bulk_iter [Rope]
as iter but over larger chunks of data
- bulk_iteri [Rope]
as iteri but over larger chunks of data.
- bulk_map [Rope]
map f s returns a rope where all ropes c in s have been
replaced by f c.
- bytes_of [IO]
Read an enumeration of unsigned 8-bit integers.
|
C |
- c_layout [Big_array]
- callback_option [Opt_parse.Opt]
Make a callback option which takes a single argument.
- capitalize [Rope]
Return a copy of the argument, with the first character set to uppercase.
- capitalize [String]
Return a copy of the argument, with the first character set to uppercase.
- capitalize [String.Cap]
Return a copy of the argument, with the first character set to uppercase.
- cardinal [PSet]
Return the number of elements of a set.
- cardinal [Set.S]
Return the number of elements of a set.
- cardinal [Extlib.ExtSet.Set.S]
Return the number of elements of a set.
- case_char [Future.Char_parser]
As char, but case-insensitive
- case_char [Future.UChar_parser]
As char, but case-insensitive
- case_rope [Future.UChar_parser]
As rope, but case-insensitive
- case_sensitive [Future.Genlex.Languages.Definition]
true if the language is case-sensitive, false otherwise.
- case_sensitive [Extlib.ExtGenlex.Genlex.Languages.Definition]
true if the language is case-sensitive, false otherwise.
- case_string [Future.Char_parser]
As case_string, but case-insensitive
- case_string [Future.UChar_parser]
As string, but case-insensitive
- case_ustring [Future.UChar_parser]
As ustring, but case-insensitive
- cast_output [IO]
You can safely transform any output to an unit output in a safe way
by using this function.
- catch [Future.Result]
Execute a function and catch any exception as a !result
- catch_break [Shell]
catch_break governs whether interactive interrupt (ctrl-C)
terminates the program or raises the Break exception.
- ceil [Standard]
- ceil [Float]
- ceil [Num]
- ceil [Safe_float]
- channel [MD5]
If len is nonnegative, Digest.channel ic len reads len
characters from channel ic and returns their digest, or raises
End_of_file if end-of-file is reached before len characters
are read.
- char [Big_array]
As shown by the types of the values above,
big arrays of kind float32_elt and float64_elt are
accessed using the Caml type float.
- char [Random]
Return a random Latin-1 character.
- char [Random.State]
- char [Future.Genlex.Languages.Make]
Low-level API
- char [Future.Char_parser]
Recognize exactly one char
- char [Future.UChar_parser]
Recognize exactly one char
- char_literal [Future.Genlex.Languages.Make]
Accepts a character literal, i.e.
- char_of_int [Standard]
Return the character with the given ASCII code.
- char_of_sexp [SExpr]
char_of_sexp sexp converts S-expression sexp to a value of type
char.
- chars_of [IO]
Read an enumeration of Latin-1 characters.
- chdir [Shell]
Change the current working directory of the process.
- chdir [Unix]
Change the process working directory.
- check [Weak]
Weak.check ar n returns true if the nth cell of ar is
full, false if it is empty.
- check_suffix [Path]
check_suffix name suff returns true if the filename name
ends with the suffix suff.
- chmod [File]
- chmod [Unix]
Change the permissions of the named file.
- choice [Random]
choice e returns a randomly-chosen element of e.
- choose [Event]
choose evl returns the event that is the alternative of
all the events in the list evl.
- choose [Threads.Event]
choose evl returns the event that is the alternative of
all the events in the list evl.
- choose [Set.S]
Return one element of the given set, or raise Not_found if
the set is empty.
- choose [Extlib.ExtSet.Set.S.Exceptionless]
- choose [Extlib.ExtSet.Set.S]
Return one element of the given set, or raise Not_found if
the set is empty.
- choose [Set.S.Exceptionless]
- chop_extension [Path]
Return the given file name without its extension.
- chop_suffix [Path]
chop_suffix name suff removes the suffix suff from
the filename name.
- chown [Unix]
Change the owner uid and owner gid of the named file.
- chr [Char]
Return the character with the given ASCII code.
- 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.
- chroot [Unix]
Change the process root directory.
- chunks_of [IO]
Read an input as an enumeration of strings of given maximal length.
- classify [Float]
Return the class of the given floating-point number:
normal, subnormal, zero, infinite, or not a number.
- classify [Safe_float]
Return the class of the given floating-point number:
normal, subnormal, zero, infinite, or not a number.
- clear [Dyn_array]
remove all elements from the array and resize it to 0.
- clear [Hashtbl.S]
- clear [Hashtbl]
Empty a hash table.
- clear [Extlib.ExtHashtbl.Hashtbl.S]
- clear [Hashtbl.Cap]
Empty a hash table.
- clear [Ref_list]
Removes all elements
- clear [Queue]
Discard all elements from a queue.
- clear [Stack]
Discard all elements from a stack.
- clear [Buffer]
Empty the buffer.
- clear [UTF8.Buf]
Empty the buffer,
but retains the internal storage which was holding the contents
- clear [Weak.S]
Remove all elements from the table.
- clear [Batlib_Baselib_Weak.S]
Remove all elements from the table.
- clear_close_on_exec [Unix]
Clear the ``close-on-exec'' flag on the given descriptor.
- clear_nonblock [Unix]
Clear the ``non-blocking'' flag on the given descriptor.
- clear_parser [Parsing]
Empty the parser stack.
- clone [Enum]
clone e creates a new enumeration that is copy of e.
- clone [Bit_set]
Same as copy
- close [Unix]
Close a file descriptor.
- close_box [Format]
Closes the most recently opened pretty-printing box.
- close_in [Standard]
Close the given channel.
- close_in [IO]
Close the input.
- close_in_noerr [Standard]
Same as close_in, but ignore all errors.
- close_out [Standard]
Close the given channel, flushing all buffered write operations.
- close_out [IO]
Close the output and return its accumulator data.
- close_out_noerr [Standard]
Same as close_out, but ignore all errors.
- close_process [Unix]
Close input/ output opened by Unix.open_process,
wait for the associated command to terminate,
and return its termination status.
- close_process_full [Unix]
Close i/o opened by Unix.open_process_full,
wait for the associated command to terminate,
and return its termination status.
- close_process_in [Unix]
Close input opened by Unix.open_process_in,
wait for the associated command to terminate,
and return its termination status.
- close_process_out [Unix]
Close output opened by Unix.open_process_out,
wait for the associated command to terminate,
and return its termination status.
- close_tag [Format]
close_tag () closes the most recently opened tag t.
- close_tbox [Format]
Closes the most recently opened tabulation box.
- closedir [Unix]
Close a directory descriptor.
- closure_tag [Obj]
- clump [Enum]
clump size add get e runs add on size (or less at the end)
elements of e and then runs get to produce value for the
result enumeration.
- code [Char]
Return the ASCII code of the argument.
- code [UChar]
code u returns the Unicode code number of u.
- comb [Stream]
comb transform a pair of stream into a stream of pairs of corresponding
elements.
- combine [IO]
combine (a,b) creates a new output c such that
writing to c will actually write to both a and b
- combine [Enum]
combine transform a pair of stream into a stream of pairs of corresponding
elements.
- combine [Seq]
Transform a pair of sequences into a sequence of pairs.
- combine [Seq.Exceptionless]
- combine [Lazy_list]
Transform a pair of lists into a list of pairs:
combine [a1; ...; an] [b1; ...; bn] is
[(a1,b1); ...; (an,bn)].
- combine [List]
Transform a pair of lists into a list of pairs:
combine [a1; ...; an] [b1; ...; bn] is
[(a1,b1); ...; (an,bn)].
- command [Packages]
Get the name/path of the executable
- command [Arg]
Construct a new command, i.e.
- command [Shell]
Execute the given shell command and return its exit code.
- command_for_exec [Compilers]
Format a command as a string and an array of arguments, fit for use
with Unix.exec.
- comment [Future.Genlex.Languages.Make]
- comment_delimiters [Future.Genlex.Languages.Definition]
- comment_delimiters [Extlib.ExtGenlex.Genlex.Languages.Definition]
- compact [Dyn_array]
compact darr ensures that the space allocated by the array is minimal.
- compact [Gc]
Perform a full major collection and compact the heap.
- compare [Standard]
compare x y returns 0 if x is equal to y,
a negative integer if x is less than y, and a positive integer
if x is greater than y.
- compare [Data.OrderedType]
A total ordering function
This is a two-argument function f such that
f e1 e2 is zero if the values e1 and e2 are equal,
f e1 e2 is strictly negative if e1 is smaller than e2,
and f e1 e2 is strictly positive if e1 is greater than e2.
- compare [Enum]
compare cmp a b compares enumerations a and b
by lexicographical order using comparison cmp.
- compare [Enum.Labels]
compare ~cmp a b compares enumerations a and b
by lexicographical order using comparison cmp.
- compare [Map.S]
Total ordering between maps.
- compare [Extlib.ExtMap.Map.S.Labels]
- compare [Extlib.ExtMap.Map.S]
Total ordering between maps.
- compare [Map.S.Labels]
- compare [Set.S]
Total ordering between sets.
- compare [Extlib.ExtSet.Set.S]
Total ordering between sets.
- compare [Unit]
Compare two units.
- compare [Bool]
- compare [Bit_set]
compare s1 s2 compares two bitsets.
- compare [Numeric.Numeric]
- compare [Big_int]
- compare [Complex]
- compare [Float]
- compare [Int]
The comparison function for integers, with the same specification as
Standard.compare.
- compare [Int32]
The comparison function for 32-bit integers, with the same specification as
Standard.compare.
- compare [Int64]
The comparison function for 64-bit integers, with the same specification as
Standard.compare.
- compare [Native_int]
The comparison function for native integers, with the same specification as
Standard.compare.
- compare [Num]
- compare [Safe_float]
- compare [Safe_int]
The comparison function for integers, with the same specification as
Standard.compare.
- compare [Char]
The comparison function for characters, with the same specification as
Standard.compare.
- compare [UTF8]
Code point comparison by lexicographic order.
- compare [Rope]
The comparison function for ropes, with the same specification as
Standard.compare.
- 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 [String]
The comparison function for strings, with the same specification as
Standard.compare.
- compare [Extlib.Interfaces.OrderedType]
A total ordering function
This is a two-argument function f such that
f e1 e2 is zero if the values e1 and e2 are equal,
f e1 e2 is strictly negative if e1 is smaller than e2,
and f e1 e2 is strictly positive if e1 is greater than e2.
- compare [String.Cap]
The comparison function for strings, with the same specification as
Standard.compare.
- compare [Future.PathGen.StringType]
Usual comparison function.
- compare_big_int [Big_int]
compare_big_int a b returns 0 if a and b are equal,
1 if a is greater than b, and -1 if a is smaller
than b.
- 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.
- complex32 [Big_array]
- complex64 [Big_array]
- compose [Concurrency]
Compose two lock systems into a third lock system.
- compress [Codec.Compressor]
Wrap an output channel, compressing transparently data when
writing to it.
- compress [GZip]
Wrap an output channel, compressing transparently data when
writing to it.
- concat [Standard]
concat e returns an enumeration over all elements of all enumerations
of e.
- concat [Array]
Same as Array.append, but concatenates a list of arrays.
- concat [Array.Cap]
Same as Array.append, but concatenates a list of arrays.
- concat [Enum]
concat e returns an enumeration over all elements of all enumerations
of e.
- concat [Seq]
concat s returns the sequence which returns all the elements
of all the elements of s, in the same order.
- concat [Stream]
concatenate a stream of streams
- concat [Vect.RANDOMACCESS]
- concat [Vect]
concat r u concatenates the r and u vects.
- concat [Vect.Make]
concat r u concatenates the r and u vects.
- concat [Lazy_list]
Lazy concatenation of a lazy list of lazy lists
- concat [List]
Concatenate a list of lists.
- concat [UTF8]
concat sep [a;b;c...] returns the concatenation of
a, sep, b, sep, c, sep...
- concat [Rope]
concat sep sl concatenates the list of ropes sl,
inserting the separator rope sep between each.
- concat [String]
String.concat sep sl concatenates the list of strings sl,
inserting the separator string sep between each.
- concat [String.Cap]
String.concat sep sl concatenates the list of strings sl,
inserting the separator string sep between each.
- concat [Path]
concat dir file returns a file name that designates file
file in directory dir.
- concat [Future.PathGen.PathType]
- concat [Extlib.PathGen.PathType]
- concat_with_separators [Future.PathGen.StringType]
concat_with_separators sep lst catenates all n elements of lst inserting (n-1) copies of sep in between.
- conj [Complex]
Conjugate: given the complex x + i.y, returns x - i.y.
- connect [Unix]
Connect a socket to an address.
- cons [Seq]
cons e s = fun () -> Cons(e, s)
- cons [Stream]
cons x stream equals [<'x; stream>].
- cons [Lazy_list]
Build a list from a head and a tail.
- cons [List]
cons h t returns the list starting with h and continuing as t
- cons [Future.Parser_co]
cons p q applies parser p then parser q and
conses the results into a list.
- conservative_exponential_resizer [Dyn_array]
conservative_exponential_resizer is an example resizer function
which uses the oldlength parameter.
- const [Standard]
Ignore its second argument.
- contains [UTF8]
As String.contains
- contains [Rope]
contains s c tests if character c
appears in the rope s.
- contains [String]
String.contains s c tests if character c
appears in the string s.
- contains [String.Cap]
String.contains s c tests if character c
appears in the string s.
- contains_from [UTF8]
- contains_from [Rope]
contains_from s start c tests if character c appears in
the subrope of s starting from start to the end of s.
- contains_from [String]
String.contains_from s start c tests if character c appears in
the substring of s starting from start to the end of s.
- contains_from [String.Cap]
String.contains_from s start c tests if character c
appears in the substring of s starting from start to the end
of s.
- contents [Buffer]
Return a copy of the current contents of the buffer.
- contents [UTF8.Buf]
contents buf returns the contents of the buffer.
- copy [IO]
Read everything from an input and copy it to an output.
- copy [Array]
Array.copy a returns a copy of a, that is, a fresh array
containing the same elements as a.
- copy [Array.Cap]
Array.copy a returns a copy of a, that is, a fresh array
containing the same elements as a.
- copy [Dllist]
Copy the list attached to the given node and return the copy of the given
node.
- copy [Dyn_array]
copy src returns a fresh copy of src, such that no modification of
src affects the copy, or vice versa (all new memory is allocated for
the copy).
- copy [Hashtbl.S]
- copy [Hashtbl]
Return a copy of the given hashtable.
- copy [Extlib.ExtHashtbl.Hashtbl.S]
- copy [Hashtbl.Cap]
Return a copy of the given hashtable.
- copy [Ref_list]
Makes a copy of a ref list - O(1)
- copy [Queue]
Return a copy of the given queue.
- copy [Ref]
copy r returns a new reference with the same initial
content as r.
- copy [Stack]
Return a copy of the given stack.
- copy [Vect.RANDOMACCESS]
- copy [Bit_set]
Copy a bitset : further modifications of first one will not affect the
copy.
- copy [String]
Return a copy of the given string.
- copy [String.Cap]
Return a copy of the given string.
- copy [Oo]
Oo.copy o returns a copy of object o, that is a fresh
object with the same methods and instance variables as o
- copy [Oo.Internal]
- copy [Random.State]
Return a copy of the given state.
- copy_enum [Ref_list]
Makes a copy of a enum.
- copy_list [Ref_list]
Makes a copy of a list - O(1)
- cos [Standard]
- cos [Float]
- cos [Safe_float]
- cosh [Standard]
- cosh [Float]
- cosh [Safe_float]
- count [Enum]
count e returns the number of remaining elements in e without
consuming the enumeration.
- count [Stream]
Return the current count of the stream elements, i.e.
- count [Bit_set]
count s returns the number of bits set in the bitset s.
- count [Weak.S]
Count the number of elements in the table.
- count [Batlib_Baselib_Weak.S]
Count the number of elements in the table.
- count_option [Opt_parse.StdOpt]
Create a counting option which increments its value each time the
option is encountered on the command line.
- counters [Gc]
Return (minor_words, promoted_words, major_words).
- create [Concurrency.Lock]
- create [Concurrency.BaseLock]
- create [Concurrency]
Create a lock from a pair of locking/unlocking functions
- create [Extlib.Concurrent.Lock]
- create [Condition]
Return a new condition variable.
- create [Mutex]
Return a new mutex.
- create [RMutex]
Return a new mutex.
- create [Thread]
Thread.create funct arg creates a new thread of control,
in which the function application funct arg
is executed concurrently with the other threads of the program.
- create [Threads.Condition]
Return a new condition variable.
- create [Threads.Mutex]
Return a new mutex.
- create [Threads.RMutex]
Return a new mutex.
- create [Threads.Thread]
Thread.create funct arg creates a new thread of control,
in which the function application funct arg
is executed concurrently with the other threads of the program.
- create [Array]
- create [Array.Cap]
- create [Array.Cap.Labels]
- create [Array.Labels]
- create [Big_array.Genarray]
Genarray.create kind layout dimensions returns a new big array
whose element kind is determined by the parameter kind (one of
float32, float64, int8_signed, etc) and whose layout is
determined by the parameter layout (one of c_layout or
fortran_layout).
- create [Big_array.Array1]
Array1.create kind layout dim returns a new bigarray of
one dimension, whose size is dim.
- create [Big_array.Array2]
Array2.create kind layout dim1 dim2 returns a new bigarray of
two dimension, whose size is dim1 in the first dimension
and dim2 in the second dimension.
- create [Big_array.Array3]
Array3.create kind layout dim1 dim2 dim3 returns a new bigarray of
three dimension, whose size is dim1 in the first dimension,
dim2 in the second dimension, and dim3 in the third.
- create [Dllist]
Creates a node.
- create [Dyn_array]
create() returns a new empty dynamic array.
- create [Hashtbl.S]
- create [Hashtbl]
Hashtbl.create n creates a new, empty hash table, with
initial size n.
- create [Extlib.ExtHashtbl.Hashtbl.S]
- create [Hashtbl.Cap]
Hashtbl.create n creates a new, empty hash table, with
initial size n.
- create [Queue]
Return a new queue, initially empty.
- create [Stack]
Return a new stack, initially empty.
- create [Multi_pmap]
creates a new empty map, using the provided function for key comparison.
- create [PMap]
creates a new empty map, using the provided function for key comparison.
- create [PSet]
Creates a new empty set, using the provided function for key comparison.
- create [Bit_set]
Create an empty bitset with an initial size (in number of bits).
- create [Buffer]
create n returns a fresh buffer, initially empty.
- create [UTF8.Buf]
create n creates the buffer with the initial size n-bytes.
- create [String]
String.create n returns a fresh string of length n.
- create [String.Cap]
String.create n returns a fresh string of length n.
- create [Weak.S]
create n creates a new empty weak hash table, of initial
size n.
- create [Weak]
Weak.create n returns a new weak array of length n.
- create [Batlib_Baselib_Weak.S]
create n creates a new empty weak hash table, of initial
size n.
- create [Date]
Convert the time (seconds since the epoch) to a date/time record
- create_alarm [Gc]
create_alarm f will arrange for f to be called at the end of each
major GC cycle, starting with the current cycle or the next one.
- create_full [Bit_set]
Create a full bitset with an initial size (in number of bits).
- create_in [IO]
Fully create an input by giving all the needed functions.
- create_matrix [Array]
- create_matrix [Array.Cap]
- create_matrix [Array.Cap.Labels]
- create_matrix [Array.Labels]
- create_object [Oo.Internal]
- create_object_and_run_initializers [Oo.Internal]
- create_object_opt [Oo.Internal]
- create_out [IO]
Fully create an output by giving all the needed functions.
- create_process [Unix]
create_process prog args new_stdin new_stdout new_stderr
forks a new process that executes the program
in file prog, with arguments args.
- create_process_env [Unix]
create_process_env prog args env new_stdin new_stdout new_stderr
works as Unix.create_process, except that the extra argument
env specifies the environment passed to the program.
- create_table [Oo.Internal]
- current [Arg]
Position (in Sys.argv) of the argument being processed.
- current_dir_name [Path]
The conventional name for the current directory (e.g.
- curry [Standard]
Convert a function which accepts a pair of arguments into
a function which accepts two arguments.
- custom_tag [Obj]
- cycle [Enum]
cycle is similar to repeat, except that the content to fill is a
subenum rather than a single element.
|
D |
- data_size [Marshal]
- dbg_formatter [Future.Logger]
dbg_formatter is a debug formatter that outputs log events to
stderr using the same format as make_dbg_formatter.
- debug_mode [Future.Parser_co]
If set to true, debugging information will be printed to the standard error.
- decode [Base64]
Generic base64 decoding over an input.
- decr [Standard]
Decrement the integer contained in the given reference.
- decr_option [Opt_parse.StdOpt]
Exactly identical to count_option ~dest:dest ~increment:(-1) ().
- default [Option]
default x (Some v) returns v and default x None returns x.
- default_buffer_size [IO]
The default size for internal buffers.
- default_location [Packages]
Get the default installation directory for packages
- default_permission [File]
Default permissions.
- default_resizer [Dyn_array]
The default resizer function the library is using - in this version
of DynArray, this is the exponential_resizer but should change in
next versions.
- default_string_of_float [SExpr]
default_string_of_float reference to the default function used
to convert floats to strings.
- default_validator [Future.PathGen.PathType]
Forward slash and code zero are considered invalid.
- default_validator [Extlib.PathGen.PathType]
Forward slash and code zero are considered invalid.
- delay [Thread]
delay d suspends the execution of the calling thread for
d seconds.
- delay [Threads.Thread]
delay d suspends the execution of the calling thread for
d seconds.
- delay [Enum]
delay (fun () -> e) produces an enumeration which behaves as e.
- delete [Dyn_array]
delete darr idx deletes the element of darr at idx.
- delete_alarm [Gc]
delete_alarm a will stop the calls to the function associated
to a.
- delete_last [Dyn_array]
delete_last darr deletes the last element of darr.
- delete_range [Dyn_array]
delete_range darr p len deletes len elements starting at index p.
- demote [Dllist]
demote n Swaps n with prev n.
- descr_of_in_channel [Unix]
- descr_of_input [Unix]
Return the descriptor corresponding to an input.
- descr_of_out_channel [Unix]
- descr_of_output [Unix]
Return the descriptor corresponding to an output.
- destructive_set [Vect]
destructive_set n e v sets the element of index n in the v vect
to e.
- diff [Set.S]
Set difference.
- diff [Extlib.ExtSet.Set.S]
Set difference.
- diff [Bit_set]
diff s t returns s-t.
- differentiate [Bit_set]
differentiate s t removes the elements of t from s.
- differentiate_sym [Bit_set]
differentiate_sym s t sets s to the symmetrical difference of the
sets s and t.
- digit [Future.Char_parser]
Recognizes one decimal digit
- digit [Future.UChar_parser]
Recognizes one decimal digit
- dim [Big_array.Array1]
Return the size (dimension) of the given one-dimensional
big array.
- dim1 [Big_array.Array2]
Return the first dimension of the given two-dimensional big array.
- dim1 [Big_array.Array3]
Return the first dimension of the given three-dimensional big array.
- dim2 [Big_array.Array2]
Return the second dimension of the given two-dimensional big array.
- dim2 [Big_array.Array3]
Return the second dimension of the given three-dimensional big array.
- dim3 [Big_array.Array3]
Return the third dimension of the given three-dimensional big array.
- dims [Big_array.Genarray]
Genarray.dims a returns all dimensions of the big array a,
as an array of integers of length Genarray.num_dims a.
- dirname [Path]
- div [Bool]
- div [Numeric.Numeric]
- div [Big_int]
- div [Complex]
Division
- div [Float]
- div [Int]
Integer division.
- div [Int32]
Integer division.
- div [Int64]
Integer division.
- div [Native_int]
Integer division.
- div [Num]
- div [Safe_float]
- div [Safe_int]
Integer division.
- documentation_root [Batteries_config]
- domain_of_sockaddr [Unix]
Return the socket domain adequate for the given socket address.
- double_array_tag [Obj]
- double_tag [Obj]
- doubles_of [IO]
Read an enumeration of IEEE double precision floating point values.
- doubles_of [IO.BigEndian]
Read an enumeration of IEEE double precision floating point values.
- drive_letter [Future.PathGen.PathType]
Return drive letter of the given absolute path.
- drive_letter [Extlib.PathGen.PathType]
Return drive letter of the given absolute path.
- drop [Dllist]
Remove node from the list no matter where it is.
- drop [Enum]
drop n e removes the first n element from the enumeration, if any.
- drop [Seq]
drop n s returns s without the first n elements, or the
empty sequence if s have less than n elements.
- drop [Stream]
drop n stream returns the suffix of stream after the first n elements,
or a empty stream if n is greater than the length of stream
- drop [Lazy_list]
drop n l returns l without the first n elements, or the empty
list if l have less than n elements.
- drop [List]
drop n l returns l without the first n elements, or the empty
list if l have less than n elements.
- drop_bits [IO]
Drop up to 7 buffered bits and restart to next input character.
- drop_while [Enum]
drop_while p e produces a new enumeration in which only
all the first elements such that f e have been junked.
- drop_while [Enum.Labels]
- drop_while [Seq]
drop_while f s returns the sequence s with the first
elements satisfying the predicate f dropped.
- drop_while [Stream]
drop_while test stream returns the remaining suffix of take_while test
stream.
- drop_while [Lazy_list]
drop_while f xs returns the list xs with the first
elements satisfying the predicate f dropped.
- drop_while [Lazy_list.Labels]
- drop_while [List]
dropwhile f xs returns the list xs with the first
elements satisfying the predicate f dropped.
- drop_while [List.Labels]
- dropwhile [List]
- dummy_class [Oo.Internal]
- dummy_pos [Lexing]
A value of type position, guaranteed to be different from any
valid position.
- dummy_table [Oo.Internal]
- dump [Standard]
Attempt to convert a value to a string.
- dup [Enum]
dup stream returns a pair of streams which are identical to stream.
- dup [Stream]
dup stream returns a pair of streams which are identical to stream.
- dup [Obj]
- dup [Unix]
Return a new file descriptor referencing the same file as
the given descriptor.
- dup2 [Unix]
dup2 fd1 fd2 duplicates fd1 to fd2, closing fd2 if already
opened.
|
E |
- eager_append [Lazy_list]
Evaluate a list and append another list after this one.
- eager_of_list [Lazy_list]
Eager conversion from lists.
- either [Future.Parser_co]
Accept one of several parsers.
- elements [Set.S]
Return the list of all elements of the given set.
- elements [Extlib.ExtSet.Set.S]
Return the list of all elements of the given set.
- empty [Dyn_array]
Return true if the number of elements in the array is 0.
- empty [Enum]
The empty enumeration : contains no element
- empty [Global]
Returns an new named empty global.
- empty [Ref_list]
Returns a new empty ref list
- empty [Stream]
Return () if the stream is empty, else raise Stream.Failure.
- empty [Vect.RANDOMACCESS]
- empty [Vect]
The empty vect.
- empty [Vect.Make]
The empty vect.
- empty [Map.S]
The empty map.
- empty [Extlib.ExtMap.Map.S]
The empty map.
- empty [Multi_pmap]
The empty map, using compare as key comparison function.
- empty [PMap]
The empty map, using compare as key comparison function.
- empty [PSet]
The empty set, using compare as comparison function
- empty [Set.S]
The empty set.
- empty [Extlib.ExtSet.Set.S]
The empty set.
- empty [Bit_set]
Create an empty bitset of size 0, the bitset will automatically expand
when needed.
- empty [UTF8]
The empty UTF8 string
- empty [Rope]
The empty rope.
- encode [Base64]
Generic base64 encoding over an output.
- encoded_as [Char_encodings]
encoded_as t returns the x such that t = as_encoded x enc.
- encoding_of_t [Char_encodings]
Return the encoding of a t.
- end_of_input [Scanf.Scanning]
Scanning.end_of_input ib tests the end-of-input condition of the given
scanning buffer.
- ends_with [Rope]
ends_with s x returns true if the rope s is ending with x, false otherwise.
- ends_with [String]
ends_with s x returns true if the string s is ending with x, false otherwise.
- ends_with [String.Cap]
ends_with s x returns true if the string s is ending with x.
- enum [Array]
Returns an enumeration of the elements of an array.
- enum [Array.Cap]
Returns an enumeration of the elements of an array.
- enum [Big_array.Genarray]
enum e returns an enumeration on the elements of e.
- enum [Big_array.Array1]
enum e returns an enumeration on the elements of e.
- enum [Big_array.Array2]
enum e returns an enumeration on the elements of e.
- enum [Big_array.Array3]
enum e returns an enumeration on the elements of e.
- enum [Dllist]
Create an enum of the list.
- enum [Dyn_array]
enum darr returns the enumeration of darr elements.
- enum [Enum.Enumerable]
Return an enumeration of the elements of the data structure
- enum [Enum]
identity : added for consistency with the other data structures
- enum [Seq]
enum s returns the enumeration of all element of s.
- enum [Hashtbl.S]
- enum [Hashtbl]
Return an enumeration of (key,value) pairs of a hashtable.
- enum [Extlib.ExtHashtbl.Hashtbl.S]
- enum [Hashtbl.Cap]
Return an enumeration of (key,value) pairs of a hashtable.
- enum [Ref_list]
Returns an enumeration of current elements in the ref list
- enum [Queue]
enum q returns a destructive enumeration of the elements of queue
q, from the least recently entered to the most recently entered.
- enum [Stack]
enum s returns a destructive enumeration of the elements of stack
s, from the most recently entered to the least recently entered.
- enum [Stream]
Convert an enumeration to a stream.
- enum [Vect.RANDOMACCESS]
- enum [Vect]
Returns an enumeration of the elements of the vector.
- enum [Lazy_list]
Lazy conversion to enumeration
- enum [List]
Returns an enumeration of the elements of a list.
- enum [Map.S]
Return an enumeration of (key, value) pairs of a map.
- enum [Extlib.ExtMap.Map.S]
Return an enumeration of (key, value) pairs of a map.
- enum [Multi_pmap]
creates an enumeration for this map.
- enum [Option]
enum (Some x) returns the singleton x, while enum None returns
the empty enumeration
- enum [PMap]
creates an enumeration for this map.
- enum [PSet]
Return an enumeration of all elements of the given set.
- enum [Set.S]
Return an enumeration of all elements of the given set.
- enum [Extlib.ExtSet.Set.S]
Return an enumeration of all elements of the given set.
- enum [Bit_set]
enum s returns an enumeration of bits which are set
in the bitset s.
- enum [Buffer]
Returns an enumeration of the characters of a buffer.
- enum [Char]
Produce the enumeration of all characters
- enum [UTF8]
- enum [Rope]
Returns an enumeration of the characters of a rope.
- enum [String]
Conversions
- enum [String.Cap]
Conversions
- enum_bits [Random]
- enum_bits [Random.State]
- enum_bool [Random]
- enum_bool [Random.State]
- enum_char [Random]
- enum_char [Random.State]
- enum_float [Random]
- enum_float [Random.State]
- enum_int [Random]
- enum_int [Random.State]
- enum_int32 [Random]
- enum_int32 [Random.State]
- enum_int64 [Random]
- enum_int64 [Random.State]
- enum_nativeint [Random]
- enum_nativeint [Random.State]
- environment [Unix]
Return the process environment, as an array of strings
with the format ``variable=value''.
- eof [Future.Parser_co]
Accept the end of an enumeration.
- eprintf [Format]
Same as fprintf above, but output on err_formatter.
- eprintf [Printf]
The usual eprintf function, prints to the standard error output stderr, used
to display warnings and errors.
- eprintf [Print]
eprintf fmt args behaves as printf fmt args but prints the result on
the error out put IO.stderr rather on the screen.
- epsilon [Float]
The smallest positive float x such that 1.0 +. x <> 1.0.
- epsilon [Safe_float]
The smallest positive float x such that 1.0 +. x <> 1.0.
- eq [UChar]
Comparaison
- eq_big_int [Big_int]
- eq_num [Num]
- equal [Hashtbl.HashedType]
The equality predicate used to compare keys.
- equal [Map.S]
equal cmp m1 m2 tests whether the maps m1 and m2 are
equal, that is, contain equal keys and associate them with
equal data.
- equal [Extlib.ExtMap.Map.S.Labels]
- equal [Extlib.ExtMap.Map.S]
equal cmp m1 m2 tests whether the maps m1 and m2 are
equal, that is, contain equal keys and associate them with
equal data.
- equal [Map.S.Labels]
- equal [Set.S]
equal s1 s2 tests whether the sets s1 and s2 are
equal, that is, contain equal elements.
- equal [Extlib.ExtSet.Set.S]
equal s1 s2 tests whether the sets s1 and s2 are
equal, that is, contain equal elements.
- equals [Bit_set]
equals s1 s2 returns true if, and only if, all bits values in s1 are
the same as in s2.
- err_formatter [Format]
A formatter to use with formatting functions below for
output to standard error.
- error [Opt_parse.OptParser]
Display an error message and exit the program.
- error_message [Unix]
Return a string describing the given error code.
- escaped [Char]
Return a string representing the given character,
with special characters escaped following the lexical conventions
of Objective Caml.
- escaped [UTF8]
- escaped [Rope]
Return a copy of the argument, with special characters
represented by escape sequences, following the lexical
conventions of Objective Caml.
- escaped [String]
Return a copy of the argument, with special characters
represented by escape sequences, following the lexical
conventions of Objective Caml.
- escaped [String.Cap]
Return a copy of the argument, with special characters
represented by escape sequences, following the lexical
conventions of Objective Caml.
- establish_server [Unix]
Establish a server on the given address.
- eternity [Lazy_list]
An infinite list of nothing
- exactly [Future.Parser_co]
Singletons
- exe [Standard]
The name of the current executable.
- executable_name [Shell]
The name of the file containing the executable currently running.
- execv [Unix]
execv prog args execute the program in file prog, with
the arguments args, and the current process environment.
- execve [Unix]
Same as Unix.execv, except that the third argument provides the
environment to the program executed.
- execvp [Unix]
Same as Unix.execv, except that
the program is searched in the path.
- execvpe [Unix]
Same as Unix.execve, except that
the program is searched in the path.
- exists [Standard]
exists f e returns true if there is some x in e such
that f x
- exists [Array]
exists p [a1; ...; an] checks if at least one element of
the array satisfies the predicate p.
- exists [Array.Cap]
exists p [a1; ...; an] checks if at least one element of
the array satisfies the predicate p.
- exists [Array.Cap.Labels]
- exists [Array.Labels]
- exists [Enum]
exists f e returns true if there is some x in e such
that f x
- exists [Enum.Labels]
- exists [Seq]
exists p (cons a1 (... an)) checks if at least one element of
the sequence satisfies the predicate p.
- exists [Ref_list]
Return true if an element matches the specified
predicate
- exists [Vect]
exists p [a1; ...; an] checks if at least one element of
the array satisfies the predicate p.
- exists [Lazy_list]
Eager existential.
- exists [Lazy_list.Labels]
- exists [List]
exists p [a1; ...; an] checks if at least one element of
the list satisfies the predicate p.
- exists [List.Labels]
- exists [PMap]
same as mem.
- exists [PSet]
exists p s checks if at least one element of
the set satisfies the predicate p.
- exists [Set.S]
exists p s checks if at least one element of
the set satisfies the predicate p.
- exists [Extlib.ExtSet.Set.S.Labels]
- exists [Extlib.ExtSet.Set.S]
exists p s checks if at least one element of
the set satisfies the predicate p.
- exists [Set.S.Labels]
- exists [Rope]
exists str sub returns true if sub is a subrope of str or
false otherwise.
- exists [String]
exists str sub returns true if sub is a substring of str or
false otherwise.
- exists [String.Cap]
exists str sub returns true if sub is a substring of str or
false otherwise.
- exists2 [Lazy_list]
- exists2 [Lazy_list.Labels]
- exists2 [List]
- exists2 [List.Labels]
- exit [Standard]
Terminate the process, returning the given status code
to the operating system: usually 0 to indicate no errors,
and a small positive integer to indicate failure.
- exit [Thread]
Terminate prematurely the currently executing thread.
- exit [Threads.Thread]
Terminate prematurely the currently executing thread.
- exp [Standard]
Exponential.
- exp [Complex]
Exponentiation.
- exp [Float]
Exponential.
- exp [Safe_float]
Exponential.
- explode [Rope]
explode s returns the list of characters in the rope s.
- explode [String]
explode s returns the list of characters in the string s.
- explode [String.Cap]
explode s returns the list of characters in the string s.
- exponential_resizer [Dyn_array]
The exponential resizer- The default resizer except when the resizer
is being copied from some other darray.
- ext [Future.PathGen.PathType]
Returns extension of the name of the object the pathname points to.
- ext [Extlib.PathGen.PathType]
Returns extension of the name of the object the pathname points to.
|
F |
- fail [Future.Parser_co]
Always fail, without consuming anything.
- failwith [Standard]
Raise exception Failure with the given string.
- failwith [Monad.S]
Report a fatal error and leave the monadic world.
- fast_count [Enum]
For users worried about the speed of count you can call the fast_count
function that will give an hint about count implementation.
- fast_sort [Array]
- fast_sort [Array.Cap]
- fast_sort [Array.Cap.Labels]
- fast_sort [Array.Labels]
- fast_sort [List]
- fast_sort [List.Labels]
- fatal [Future.Parser_co]
- fchmod [Unix]
Change the permissions of an opened file.
- fchown [Unix]
Change the owner uid and owner gid of an opened file.
- feed [Future.Genlex.Languages.Make]
Drop comments, present reserved operators and reserved
names as Kwd, operators and identifiers as Ident,
integer numbers as Int, floating-point numbers as
Float and characters as Char.
- field [Obj]
- file [MD5]
Return the digest of the file whose name is given.
- file_exists [Shell]
Test if a file with the given name exists.
- files_of [Shell]
As Shell.readdir but the results are presented as an enumeration
of names.
- fill [Array]
Array.fill a ofs len x modifies the array a in place,
storing x in elements number ofs to ofs + len - 1.
- fill [Array.Cap]
Array.fill a ofs len x modifies the array a in place,
storing x in elements number ofs to ofs + len - 1.
- fill [Array.Cap.Labels]
- fill [Array.Labels]
- fill [Big_array.Genarray]
Set all elements of a big array to a given value.
- fill [Big_array.Array1]
Fill the given big array with the given value.
- fill [Big_array.Array2]
Fill the given big array with the given value.
- fill [Big_array.Array3]
Fill the given big array with the given value.
- fill [Rope]
fill s start len c returns the rope in which
characters number start to start + len - 1 of s has
been replaced by c.
- fill [String]
String.fill s start len c modifies string s in place,
replacing the characters number start to start + len - 1
by c.
- fill [String.Cap]
String.fill s start len c modifies string s in place,
replacing the characters number start to start + len - 1
by c.
- fill [Weak]
Weak.fill ar ofs len el sets to el all pointers of ar from
ofs to ofs + len - 1.
- fill [Opt_parse.Formatter]
- filter [Standard]
filter f e returns an enumeration over all elements x of e such
as f x returns true.
- filter [Array]
filter p a returns all the elements of the array a
that satisfy the predicate p.
- filter [Array.Cap]
filter p a returns all the elements of the array a
that satisfy the predicate p.
- filter [Array.Cap.Labels]
- filter [Array.Labels]
- filter [Dllist]
filter p l returns a new list, with entirely new nodes, whose
values are all the elements of the list l that satisfy the
predicate p.
- filter [Dyn_array]
filter p a returns all the elements of the array a
that satisfy the predicate p.
- filter [Enum]
filter f e returns an enumeration over all elements x of e such
as f x returns true.
- filter [Enum.Labels]
- filter [Seq]
filter p s returns the sequence of elements of s satisfying
p.
- filter [Hashtbl.S]
- filter [Hashtbl]
filter f m returns a new hashtable where only the values a of m
such that f a = true remain.
- filter [Hashtbl.Labels]
- filter [Extlib.ExtHashtbl.Hashtbl.S]
- filter [Extlib.ExtHashtbl.Hashtbl.S.Labels]
- filter [Hashtbl.Cap]
filter f m returns a new hashtable where only the values a of m
such that f a = true remain.
- filter [Hashtbl.S.Labels]
- filter [Ref_list]
Remove all elements that do not match the
specified predicate
- filter [Stream]
filter test stream picks all the elements satisfying test from stream
and return the results in the same order as a stream.
- filter [Vect]
filter f v returns a vect with the elements x from v such that
f x returns true.
- filter [Vect.Make]
filter f v returns a vect with the elements x from v such that
f x returns true.
- filter [Lazy_list]
Lazy filtering.
- filter [Lazy_list.Labels]
- filter [List]
filter p l returns all the elements of the list l
that satisfy the predicate p.
- filter [List.Labels]
- filter [Map.S]
filter f m returns a map where only the values a of m
such that f a = true remain.
- filter [Extlib.ExtMap.Map.S.Labels]
- filter [Extlib.ExtMap.Map.S]
filter f m returns a map where only the values a of m
such that f a = true remain.
- filter [Map.S.Labels]
- filter [PMap]
filter f m returns a map where only the values a of m
such that f a = true remain.
- filter [PSet]
filter p s returns the set of all elements in s
that satisfy predicate p.
- filter [Set.S]
filter p s returns the set of all elements in s
that satisfy predicate p.
- filter [Extlib.ExtSet.Set.S.Labels]
- filter [Extlib.ExtSet.Set.S]
filter p s returns the set of all elements in s
that satisfy predicate p.
- filter [Set.S.Labels]
- filter [UTF8]
- filter [Rope]
filter f s returns a copy of rope s in which only
characters c such that f c = true remain.
- filter [String]
filter f s returns a copy of string s in which only
characters c such that f c = true remain.
- filter [String.Cap]
filter f s returns a copy of string s in which only
characters c such that f c = true remain.
- filter [Future.Parser_co]
filter f p is only accepts values x such that p
accepts x and f (p x) is true
- filter_map [Array]
filter_map f e returns an array consisting in all elements
x such that f y returns Some x , where y is an element
of e.
- filter_map [Array.Cap]
filter_map f e returns an array consisting in all elements
x such that f y returns Some x , where y is an element
of e.
- filter_map [Array.Cap.Labels]
- filter_map [Array.Labels]
- filter_map [Dllist]
filter_map f l calls (f a0) (f a1).... (f an) where a0..an
are the elements of l.
- filter_map [Dyn_array]
filter_map f e returns an array consisting in all elements
x such that f y returns Some x , where y is an element
of e.
- filter_map [Enum]
filter_map f e returns an enumeration over all elements x such as
f y returns Some x , where y is an element of e.
- filter_map [Enum.Labels]
- filter_map [Seq]
filter_map f s returns the sequence of elements filtered and
mapped by f.
- filter_map [Hashtbl.S]
- filter_map [Hashtbl]
filter_map f m combines the features of filteri and
map.
- filter_map [Hashtbl.Labels]
- filter_map [Extlib.ExtHashtbl.Hashtbl.S]
- filter_map [Extlib.ExtHashtbl.Hashtbl.S.Labels]
- filter_map [Hashtbl.Cap]
filter_map f m combines the features of filteri and
map.
- filter_map [Hashtbl.S.Labels]
- filter_map [Vect]
filter_map f e returns a vect consisting in all elements
x such that f y returns Some x , where y is an element
of e.
- filter_map [Vect.Make]
filter_map f e returns a vect consisting in all elements
x such that f y returns Some x , where y is an element
of e.
- filter_map [Lazy_list]
Lazily eliminate some elements and transform others.
- filter_map [Lazy_list.Labels]
- filter_map [List]
filter_map f l calls (f a0) (f a1).... (f an) where a0..an are
the elements of l.
- filter_map [List.Labels]
- filter_map [Map.S]
filter_map f m combines the features of filteri and
map.
- filter_map [Extlib.ExtMap.Map.S]
filter_map f m combines the features of filteri and
map.
- filter_map [PMap]
filter_map f m combines the features of filteri and
map.
- filter_map [PSet]
filter_map f m combines the features of filter and
map.
- filter_map [Set.S]
filter_map f m combines the features of filter and
map.
- filter_map [Extlib.ExtSet.Set.S.Labels]
- filter_map [Extlib.ExtSet.Set.S]
filter_map f m combines the features of filter and
map.
- filter_map [Set.S.Labels]
- filter_map [UTF8]
As String.filter_map
- filter_map [Rope]
filter_map f l calls (f a0) (f a1).... (f an) where a0..an are
the characters of l.
- filter_map [String]
filter_map f s calls (f a0) (f a1).... (f an) where a0..an are
the characters of s.
- filter_map [String.Cap]
filter_map f s calls (f a0) (f a1).... (f an) where a0..an are
the characters of s.
- filteri [Hashtbl.S]
- filteri [Hashtbl]
filter f m returns a map where only the key, values pairs
key, a of m such that f key a = true remain.
- filteri [Hashtbl.Labels]
- filteri [Extlib.ExtHashtbl.Hashtbl.S]
- filteri [Extlib.ExtHashtbl.Hashtbl.S.Labels]
- filteri [Hashtbl.Cap]
filter f m returns a map where only the key, values pairs
key, a of m such that f key a = true remain.
- filteri [Hashtbl.S.Labels]
- filteri [Map.S]
filter f m returns a map where only the key, values pairs
key, a of m such that f key a = true remain.
- filteri [Extlib.ExtMap.Map.S.Labels]
- filteri [Extlib.ExtMap.Map.S]
filter f m returns a map where only the key, values pairs
key, a of m such that f key a = true remain.
- filteri [Map.S.Labels]
- filteri [PMap]
filter f m returns a map where only the (key, value) pairs
key, a of m such that f key a = true remain.
- final_tag [Obj]
- finalise [Gc]
finalise f v registers f as a finalisation function for v.
- finalise_release [Gc]
A finalisation function may call finalise_release to tell the
GC that it can launch the next finalisation function without waiting
for the current one to return.
- finally [Standard]
finally fend f x calls f x and then fend() even if f x raised
an exception.
- find [Standard]
find f e returns the first element x of e such that f x returns
true, consuming the enumeration up to and including the
found element, or, raises Not_found if no such element exists
in the enumeration, consuming the whole enumeration in the search.
- find [Array]
find p a returns the first element of array a
that satisfies the predicate p.
- find [Array.Cap]
find p a returns the first element of array a
that satisfies the predicate p.
- find [Array.Cap.Exceptionless]
find p a returns Some x, where x is the first element of
array a that satisfies the predicate p, or None if there
is no such element.
- find [Array.Cap.Labels]
- find [Array.Exceptionless]
find p a returns Some x, where x is the first element of
array a that satisfies the predicate p, or None if there
is no such element.
- find [Array.Labels]
- find [Array.Labels.LExceptionless]
- find [Enum]
find f e returns the first element x of e such that f x returns
true, consuming the enumeration up to and including the
found element, or, raises Not_found if no such element exists
in the enumeration, consuming the whole enumeration in the search.
- find [Enum.Exceptionless]
find f e returns Some x where x is the first element x of e
such that f x returns true, consuming the enumeration up to and
including the found element, or None if no such element exists
in the enumeration, consuming the whole enumeration in the search.
- find [Enum.Labels]
- find [Enum.Labels.LExceptionless]
- find [Seq]
find p s returns the first element of s such as p e
returns true, if any.
- find [Hashtbl.S]
- find [Hashtbl]
Hashtbl.find tbl x returns the current binding of x in tbl,
or raises Not_found if no such binding exists.
- find [Hashtbl.Exceptionless]
- find [Extlib.ExtHashtbl.Hashtbl.S]
- find [Extlib.ExtHashtbl.Hashtbl.S.Exceptionless]
- find [Hashtbl.Cap]
Hashtbl.find tbl x returns the current binding of x in tbl,
or raises Not_found if no such binding exists.
- find [Hashtbl.Cap.Exceptionless]
- find [Hashtbl.S.Exceptionless]
- find [Ref_list]
Find the first element matching
the specified predicate
raise Not_found if no element is found
- find [Vect]
find p a returns the first element of array a
that satisfies the predicate p.
- find [Lazy_list]
find p l returns the first element of l such as p x
returns true or raises Not_found if such an element
has not been found.
- find [Lazy_list.Exceptionless]
rfind p l returns Some x where x is the first element of l such
that p x returns true or None if such element as not been found.
- find [Lazy_list.Labels]
- find [Lazy_list.Labels.Exceptionless]
- find [List]
find p l returns the first element of l such as p x
returns true or raises Not_found if such an element
has not been found.
- find [List.Exceptionless]
find p l returns Some x where x is the first element
of l such as p x returns true or None if such an
element has not been found.
- find [List.Labels]
- find [List.Labels.LExceptionless]
- find [Map.S]
find x m returns the current binding of x in m,
or raises Not_found if no such binding exists.
- find [Extlib.ExtMap.Map.S.Exceptionless]
- find [Extlib.ExtMap.Map.S]
find x m returns the current binding of x in m,
or raises Not_found if no such binding exists.
- find [Map.S.Exceptionless]
- find [Multi_pmap]
find x m returns the current binding of x in m
- find [PMap]
find x m returns the current binding of x in m,
or raises Not_found if no such binding exists.
- find [Rope]
find s x returns the starting index of the first occurrence of
rope x within rope s.
- find [String]
find s x returns the starting index of the first occurrence of
string x within string s.
- find [String.Cap]
find s x returns the starting index of the string x
within the string s or raises Invalid_string if x
is not a substring of s.
- find [Weak.S]
find t x returns an instance of x found in t.
- find [Batlib_Baselib_Weak.S]
find t x returns an instance of x found in t.
- find_all [Array]
- find_all [Array.Cap]
- find_all [Hashtbl.S]
- find_all [Hashtbl]
Hashtbl.find_all tbl x returns the list of all data
associated with x in tbl.
- find_all [Extlib.ExtHashtbl.Hashtbl.S]
- find_all [Hashtbl.Cap]
Hashtbl.find_all tbl x returns the list of all data
associated with x in tbl.
- find_all [Vect]
- find_all [Vect.Make]
- find_all [List]
- find_all [List.Labels]
- find_all [Weak.S]
find_all t x returns a list of all the instances of x
found in t.
- find_all [Batlib_Baselib_Weak.S]
find_all t x returns a list of all the instances of x
found in t.
- find_default [Hashtbl.S]
- find_default [Hashtbl]
Find a binding for the key, and return a default
value if not found
- find_default [Extlib.ExtHashtbl.Hashtbl.S]
- find_default [Hashtbl.Cap]
Find a binding for the key, and return a default
value if not found
- find_exc [Ref_list]
Same as find but takes an exception to be raised when
no element is found as additional parameter
- find_exn [Lazy_list]
find_exn p e l returns the first element of l such as p x
returns true or raises e if such an element has not been found.
- find_exn [Lazy_list.Labels]
- find_exn [List]
find_exn p e l returns the first element of l such as p x
returns true or raises e if such an element has not been found.
- find_exn [List.Labels]
- find_from [Rope]
find_from s ofs x behaves as find s x but starts searching
at offset ofs.
- find_from [String]
find_from s ofs x behaves as find s x but starts searching
at offset ofs.
- find_from [String.Cap]
find_from s ofs x behaves as find s x but starts searching
at offset ofs.
- find_map [Seq]
find_map p s finds the first element of s for which p e
returns Some r, if any.
- find_map [List]
find_map pred list finds the first element of list for which
pred element returns Some r.
- find_option [Hashtbl.S]
- find_option [Hashtbl]
Find a binding for the key, or return None if no
value is found
- find_option [Extlib.ExtHashtbl.Hashtbl.S]
- find_option [Hashtbl.Cap]
Find a binding for the key, or return None if no
value is found
- findi [Array]
findi p a returns the index of the first element of array a
that satisfies the predicate p.
- findi [Array.Cap]
findi p a returns the index of the first element of array a
that satisfies the predicate p.
- findi [Array.Cap.Exceptionless]
findi p a returns Some n, where n is the index of the
first element of array a that satisfies the predicate p,
or None if there is no such element.
- findi [Array.Exceptionless]
findi p a returns Some n, where n is the index of the
first element of array a that satisfies the predicate p,
or None if there is no such element.
- findi [Array.Labels]
- findi [Array.Labels.LExceptionless]
- findi [Vect]
findi p a returns the index of the first element of array a
that satisfies the predicate p.
- findi [Lazy_list]
findi p e l returns the first element ai of l along with its
index i such that p i ai is true, or raises Not_found if no
such element has been found.
- findi [Lazy_list.Exceptionless]
findi p e l returns Some (i, ai) where ai and i are respectively the
first element of l and its index, such that p i ai is true,
or None if no such element has been found.
- findi [Lazy_list.Labels]
- findi [Lazy_list.Labels.Exceptionless]
- findi [List]
findi p e l returns the first element ai of l along with its
index i such that p i ai is true, or raises Not_found if no
such element has been found.
- findi [List.Exceptionless]
findi p e l returns Some (i, ai) where ai and i are respectively the
first element of l and its index, such that p i ai is true,
or None if no such element has been found.
- findi [List.Labels]
- findi [List.Labels.LExceptionless]
- first [Standard]
Apply a function to the first element of a pair.
- first [Seq]
- first [Seq.Exceptionless]
- first [Ref_list]
Returns the first element or
raises Empty_list if the ref list is empty
- first [Lazy_list]
As hd
- first [List]
Returns the first element of the list, or raise Empty_list if
the list is empty (similar to hd).
- first [UTF8.Byte]
- first_chars [Str]
first_chars s n returns the first n characters of s.
- flatten [Enum]
- flatten [Seq]
- flatten [Lazy_list]
Lazy concatenation of a list of lazy lists
- flatten [List]
Same as concat.
- flip [Standard]
Argument flipping.
- float [Standard]
- float [Random]
Random.float bound returns a random floating-point number
between 0 (inclusive) and bound (exclusive).
- float [Random.State]
- float [Future.Genlex.Languages.Make]
Parse a floating-point number.
- float32 [Big_array]
- float32_mat_of_sexp [SExpr]
float32_mat_of_sexp sexp converts S-expression sexp to a
one-dimensional bigarray of 32-bit floats in Fortran-layout.
- float32_vec_of_sexp [SExpr]
float32_vec_of_sexp sexp converts S-expression sexp to a
one-dimensional bigarray of 32-bit floats in Fortran-layout.
- float64 [Big_array]
- float64_mat_of_sexp [SExpr]
float64_mat_of_sexp sexp converts S-expression sexp to a
two-dimensional bigarray of 64-bit floats in Fortran-layout.
- float64_vec_of_sexp [SExpr]
float64_vec_of_sexp sexp converts S-expression sexp to a
one-dimensional bigarray of 64-bit floats in Fortran-layout.
- float_callback [Opt_parse.StdOpt]
- float_of_big_int [Big_int]
Returns a floating-point number approximating the
given big integer.
- float_of_bits [Int32]
Return the floating-point number whose internal representation,
according to the IEEE 754 floating-point ``single format'' bit layout,
is the given int32.
- float_of_bits [Int64]
Return the floating-point number whose internal representation,
according to the IEEE 754 floating-point ``double format'' bit layout,
is the given int64.
- float_of_int [Standard]
Convert an integer to floating-point.
- float_of_num [Num]
- float_of_sexp [SExpr]
float_of_sexp sexp converts S-expression sexp to a value of type
float.
- float_of_string [Standard]
Convert the given string to a float.
- float_option [Opt_parse.StdOpt]
- floor [Standard]
Round the given float to an integer value.
- floor [Float]
Round the given float to an integer value.
- floor [Num]
- floor [Safe_float]
Round the given float to an integer value.
- flush [Standard]
Flush the buffer associated with the given output, performing
all pending writes on that channel.
- flush [IO]
Flush an output.
- flush_all [Standard]
Write all pending data to output channels, ignore all errors.
- flush_all [IO]
Flush all outputs, ignore errors.
- flush_bits [IO]
Flush remaining unwritten bits, adding up to 7 bits which values 0.
- flush_input [Lexing]
Discard the contents of the buffer and reset the current
position to 0.
- flush_str_formatter [Format]
Returns the material printed with str_formatter, flushes
the formatter and resets the corresponding buffer.
- fold [Standard]
Transformation loop on an enumeration, used to build a single value
from an enumeration.
- fold [Enum]
A general loop on an enumeration.
- fold [Enum.Labels]
- fold [Hashtbl.S]
- fold [Hashtbl]
Hashtbl.fold f tbl init computes
(f kN dN ... (f k1 d1 init)...),
where k1 ... kN are the keys of all bindings in tbl,
and d1 ... dN are the associated values.
- fold [Hashtbl.Labels]
- fold [Extlib.ExtHashtbl.Hashtbl.S]
- fold [Extlib.ExtHashtbl.Hashtbl.S.Labels]
- fold [Hashtbl.Cap]
Hashtbl.fold f tbl init computes
(f kN dN ... (f k1 d1 init)...),
where k1 ... kN are the keys of all bindings in tbl,
and d1 ... dN are the associated values.
- fold [Hashtbl.Cap.Labels]
- fold [Hashtbl.S.Labels]
- fold [Queue]
fold f accu q is equivalent to List.fold_left f accu l,
where l is the list of q's elements.
- fold [Stream]
fold is foldl without initialization value, where the first
element of stream is taken as init.
- fold [Vect]
fold f a r computes f (... (f (f a r0) r1)...) rN-1
where rn = Vect.get n r and N = length r.
- fold [Vect.Make]
as fold_left
- fold [Map.S]
fold f m a computes (f kN dN ... (f k1 d1 a)...),
where k1 ... kN are the keys of all bindings in m
(in increasing order), and d1 ... dN are the associated data.
- fold [Extlib.ExtMap.Map.S.Labels]
- fold [Extlib.ExtMap.Map.S]
fold f m a computes (f kN dN ... (f k1 d1 a)...),
where k1 ... kN are the keys of all bindings in m
(in increasing order), and d1 ... dN are the associated data.
- fold [Map.S.Labels]
- fold [Multi_pmap]
fold f m a computes (f kN dN ... (f k1 d1 a)...),
where k1 ... kN are the keys of all bindings in m,
and d1 ... dN are the associated data.
- fold [PMap]
fold f m a computes (f kN dN ... (f k1 d1 a)...),
where k1 ... kN are the keys of all bindings in m,
and d1 ... dN are the associated data.
- fold [PSet]
fold f s a computes (f xN ... (f x2 (f x1 a))...),
where x1 ... xN are the elements of s, in increasing order.
- fold [Set.S]
fold f s a computes (f xN ... (f x2 (f x1 a))...),
where x1 ... xN are the elements of s, in increasing order.
- fold [Extlib.ExtSet.Set.S.Labels]
- fold [Extlib.ExtSet.Set.S]
fold f s a computes (f xN ... (f x2 (f x1 a))...),
where x1 ... xN are the elements of s, in increasing order.
- fold [Set.S.Labels]
- fold [Rope]
Rope.fold f a r computes f (... (f (f a r0) r1)...) rN-1
where rn = Rope.get n r and N = length r.
- fold [Weak.S]
fold f t init computes (f d1 (... (f dN init))) where
d1 ... dN are the elements of t in some unspecified order.
- fold [Batlib_Baselib_Weak.S]
fold f t init computes (f d1 (... (f dN init))) where
d1 ... dN are the elements of t in some unspecified order.
- fold2 [Enum]
fold2 is similar to fold but will fold over two enumerations at the
same time until one of the two enumerations ends.
- fold2 [Enum.Labels]
- fold2i [Enum]
- fold2i [Enum.Labels]
- fold_left [Array]
Array.fold_left f x a computes
f (... (f (f x a.(0)) a.(1)) ...) a.(n-1),
where n is the length of the array a.
- fold_left [Array.Cap]
Array.fold_left f x a computes
f (... (f (f x a.(0)) a.(1)) ...) a.(n-1),
where n is the length of the array a.
- fold_left [Array.Cap.Labels]
- fold_left [Array.Labels]
- fold_left [Dllist]
Accumulate a value over the entire list.
- fold_left [Dyn_array]
fold_left f x darr computes
f ( ... ( f ( f (get darr 0) x) (get darr 1) ) ... ) (get darr n-1),
similar to Array.fold_left or List.fold_left.
- fold_left [Seq]
fold_left f a (cons b1 (... bn)) is f (... (f (f a b1) b2) ...)
bn.
- fold_left [Ref_list]
List.fold_left f a [b1; ...; bn] is
f (... (f (f a b1) b2) ...) bn.
- fold_left [Vect]
fold_left f a r computes f (... (f (f a r0) r1)...) rN-1
where rn = Vect.get n r and N = length r.
- fold_left [Vect.Make]
fold_left f a r computes f (... (f (f a r0) r1)...) rN-1
where rn = Vect.get n r and N = length r.
- fold_left [Lazy_list]
Eager fold_left
- fold_left [Lazy_list.Labels]
- fold_left [List]
List.fold_left f a [b1; ...; bn] is
f (... (f (f a b1) b2) ...) bn.
- fold_left [List.Labels]
- fold_left [String]
fold_left f a s is
f (... (f (f a s.[0]) s.[1]) ...) s.[n-1]
- fold_left [String.Cap]
fold_left f a s is
f (... (f (f a s.[0]) s.[1]) ...) s.[n-1]
- fold_left2 [Lazy_list]
fold_left2 f a [b1; ...; bn] [c1; ...; cn] is
f (... (f (f a b1 c1) b2 c2) ...) bn cn.
- fold_left2 [List]
List.fold_left2 f a [b1; ...; bn] [c1; ...; cn] is
f (... (f (f a b1 c1) b2 c2) ...) bn cn.
- fold_left2 [List.Labels]
- fold_right [Array]
Array.fold_right f a x computes
f a.(0) (f a.(1) ( ... (f a.(n-1) x) ...)),
where n is the length of the array a.
- fold_right [Array.Cap]
Array.fold_right f a x computes
f a.(0) (f a.(1) ( ... (f a.(n-1) x) ...)),
where n is the length of the array a.
- fold_right [Array.Cap.Labels]
- fold_right [Array.Labels]
- fold_right [Dllist]
Accumulate a value over the entire list.
- fold_right [Dyn_array]
fold_right f darr x computes
f (get darr 0) (f (get darr 1) ( ... ( f (get darr n-1) x ) ... ) )
similar to Array.fold_right or List.fold_right.
- fold_right [Seq]
fold_right f (cons a1 (... an)) b is f a1 (f a2 (... (f an b)
...)).
- fold_right [Ref_list]
List.fold_right f [a1; ...; an] b is
f a1 (f a2 (... (f an b) ...)).
- fold_right [Vect.RANDOMACCESS]
- fold_right [Vect]
fold_right f r a computes f (r0 ... (f rN-2 (f rN-1 a)) ...))
where rn = Vect.get n r and N = length r.
- fold_right [Vect.Make]
fold_right f r a computes f (r0 ... (f rN-2 (f rN-1 a)) ...))
where rn = Vect.get n r and N = length r.
- fold_right [Lazy_list]
Eager fold_right
- fold_right [Lazy_list.Labels]
- fold_right [List]
List.fold_right f [a1; ...; an] b is
f a1 (f a2 (... (f an b) ...)).
- fold_right [List.Labels]
- fold_right [String]
fold_right f s b is
f s.[0] (f s.[1] (... (f s.[n-1] b) ...))
- fold_right [String.Cap]
fold_right f s b is
f s.[0] (f s.[1] (... (f s.[n-1] b) ...))
- fold_right2 [Lazy_list]
fold_right2 f [a1; ...; an] [b1; ...; bn] c is
f a1 b1 (f a2 b2 (... (f an bn c) ...)).
- fold_right2 [Lazy_list.Labels]
- fold_right2 [List]
List.fold_right2 f [a1; ...; an] [b1; ...; bn] c is
f a1 b1 (f a2 b2 (... (f an bn c) ...)).
- fold_right2 [List.Labels]
- foldi [Enum]
- foldi [Enum.Labels]
- foldi [Multi_pmap]
Same as fold, but the function receives as arguments both the
key and the associated value for each binding of the map.
- foldi [PMap]
Same as fold, but the function receives as arguments both the
key and the associated value for each binding of the map.
- foldl [Stream]
foldl f init stream is a lazy fold_left.
- foldr [Stream]
foldr f init stream is a lazy fold_right.
- for_all [Standard]
exists f e returns true if for every x in e, f x is true
- for_all [Array]
for_all p [a1; ...; an] checks if all elements of the array
satisfy the predicate p.
- for_all [Array.Cap]
Predicates
- for_all [Array.Cap.Labels]
- for_all [Array.Labels]
- for_all [Enum]
for_all f e returns true if for every x in e, f x is true
- for_all [Enum.Labels]
- for_all [Seq]
for_all p (cons a1 (... an)) checks if all elements of the
given sequence satisfy the predicate p.
- for_all [Ref_list]
Return true if all elements match the specified
predicate
- for_all [Vect]
for_all p [a1; ...; an] checks if all elements of the array
satisfy the predicate p.
- for_all [Lazy_list]
Eager universal.
- for_all [Lazy_list.Labels]
- for_all [List]
for_all p [a1; ...; an] checks if all elements of the list
satisfy the predicate p.
- for_all [List.Labels]
- for_all [Set.S]
for_all p s checks if all elements of the set
satisfy the predicate p.
- for_all [Extlib.ExtSet.Set.S.Labels]
- for_all [Extlib.ExtSet.Set.S]
for_all p s checks if all elements of the set
satisfy the predicate p.
- for_all [Set.S.Labels]
- for_all2 [Lazy_list]
- for_all2 [Lazy_list.Labels]
- for_all2 [List]
- for_all2 [List.Labels]
- force [Enum]
force e forces the application of all lazy functions and the
enumeration of all elements, exhausting the enumeration.
- force [Lazy]
force x forces the suspension x and returns its result.
- force_newline [Format]
Forces a newline in the current box.
- force_val [Lazy]
force_val x forces the suspension x and returns its
result.
- foreach [Standard]
Imperative loop on an enumeration.
- fork [Unix]
Fork a new process.
- format [Date]
Format a date/time record as a string
- format_from_string [Scanf]
format_from_string s fmt converts a string argument to a format string,
according to the given format string fmt.
- format_of_string [Standard]
format_of_string s returns a format string read from the string
literal s.
- format_timestamp [Future.Logger]
format_timestamp oc timestamp prints an ISO-8601 formatted
timestamp (extended to specify higher-resolution seconds) to
the output channel, oc.
- format_to [Date]
Format a date/time record according to the format string and outputs
the resulting string to the channel.
- formatter_of_buffer [Format]
formatter_of_buffer b returns a new formatter writing to
buffer b.
- formatter_of_out_channel [Format]
formatter_of_out_channel oc returns a new formatter that
writes to the corresponding channel oc.
- formatter_of_output [Format]
formatter_of_output out returns a new formatter that
writes to the corresponding output out.
- fortran_layout [Big_array]
- forward_tag [Obj]
- fprintf [Format]
fprintf ff format arg1 ... argN formats the arguments
arg1 to argN according to the format string format,
and outputs the resulting string on the formatter ff.
- fprintf [Printf]
General function.
- fprintf [Print]
General formatting function.
- frexp [Standard]
frexp f returns the pair of the significant
and the exponent of f.
- frexp [Float]
frexp f returns the pair of the significant
and the exponent of f.
- frexp [Safe_float]
frexp f returns the pair of the significant
and the exponent of f.
- from [Enum]
from next creates an enumeration from the next function.
- from [Enum.Labels]
- from [Stream]
Stream.from f returns a stream built from the function f.
- from [Lazy_list]
from next creates a (possibly infinite) lazy list from the successive
results of next.
- from_channel [Marshal]
- from_channel [Lexing]
- from_channel [Scanf.Scanning]
- from_file [Scanf.Scanning]
Bufferized file reading in text mode.
- from_file_bin [Scanf.Scanning]
Bufferized file reading in binary mode.
- from_function [Lexing]
Create a lexer buffer with the given function as its reading method.
- from_function [Scanf.Scanning]
Scanning.from_function f returns a scanning buffer with the given
function as its reading method.
- from_in_channel [IO]
- from_in_chars [IO]
- from_input [Lexing]
Create a lexer buffer on the given input
Lexing.from_input inp returns a lexer buffer which reads
from the input inp, at the current reading position.
- from_input [Scanf.Scanning]
Scanning.from_channel ic returns a scanning buffer which reads from the
input channel ic, starting at the current reading position.
- from_loop [Enum]
from_loop data next creates a (possibly infinite) enumeration from
the successive results of applying next to data, then to the
result, etc.
- from_loop [Enum.Labels]
- from_loop [Lazy_list]
from_loop data next creates a (possibly infinite) lazy list from
the successive results of applying next to data, then to the
result, etc.
- from_out_channel [IO]
- from_out_chars [IO]
- from_string [Marshal]
Marshal.from_string buff ofs unmarshals a structured value
like Marshal.from_channel does, except that the byte
representation is not read from a channel, but taken from
the string buff, starting at position ofs.
- from_string [Lexing]
Create a lexer buffer which reads from
the given string.
- from_string [Scanf.Scanning]
Scanning.from_string s returns a scanning buffer which reads from the
given string.
- from_while [Enum]
from_while next creates an enumeration from the next function.
- from_while [Enum.Labels]
- from_while [Lazy_list]
from next creates a (possibly infinite) lazy list from the successive
results of next.
- fscanf [Scanf]
- fstat [Unix]
Return the information for the file associated with the given
descriptor.
- fstat [Unix.LargeFile]
- ftruncate [Unix]
Truncates the file corresponding to the given descriptor
to the given size.
- ftruncate [Unix.LargeFile]
- full_init [Random]
- full_major [Gc]
Do a minor collection, finish the current major collection cycle,
and perform a complete new cycle.
- full_split [Str]
Same as Str.split_delim, but returns
the delimiters as well as the substrings contained between
delimiters.
- fun_of_sexp [SExpr]
fun_of_sexp sexp raises a conversion error when attempting to
convert an S-expression to a function.
|
G |
- ge_big_int [Big_int]
- ge_num [Num]
- genarray_of_array1 [Big_array]
Return the generic big array corresponding to the given one-dimensional
big array.
- genarray_of_array2 [Big_array]
Return the generic big array corresponding to the given two-dimensional
big array.
- genarray_of_array3 [Big_array]
Return the generic big array corresponding to the given three-dimensional
big array.
- get [Standard]
get e returns None if e is empty or Some x where x is
the next element of e, in which case the element is removed
from the enumeration.
- get [Array]
Array.get a n returns the element number n of array a.
- get [Array.Cap]
Array.get a n returns the element number n of array a.
- get [Big_array.Genarray]
Read an element of a generic big array.
- get [Big_array.Array1]
Array1.get a x, or alternatively a.{x},
returns the element of a at index x.
- get [Big_array.Array2]
Array2.get a x y, also written a.{x,y},
returns the element of a at coordinates (x, y).
- get [Big_array.Array3]
Array3.get a x y z, also written a.{x,y,z},
returns the element of a at coordinates (x, y, z).
- get [Dllist]
Given a node, get the data associated with that node.
- get [Dyn_array]
get darr idx gets the element in darr at index idx.
- get [Enum]
get e returns None if e is empty or Some x where x is
the next element of e, in which case the element is removed
from the enumeration.
- get [Global]
Get the global value contents - raise Global_not_initialized if not
defined.
- get [Ref]
As !
- get [Vect.RANDOMACCESS]
- get [Vect]
get v n returns the (n+1)th element from the vect v; i.e.
- get [Vect.Make]
get n r returns the (n+1)th element from the vect r; i.e.
- get [Lazy_list]
get l returns the head and tail of l, if l is not empty.
- get [Option]
get (Some x) returns x and get None raises No_value.
- get [UTF8]
get s n returns the n-th Unicode character of s.
- get [Rope]
get r n returns the (n+1)th character from the rope r; i.e.
- get [String]
String.get s n returns character number n in string s.
- get [String.Cap]
String.get s n returns character number n in string s.
- get [Gc]
Return the current values of the GC parameters in a control record.
- get [Weak]
Weak.get ar n returns None if the nth cell of ar is
empty, Some x (where x is the value) if it is full.
- get [Opt_parse.Opt]
Get the value of an option.
- get [Future.PathGen.StringType]
Usual get function.
- get_all_formatter_output_functions [Format]
Return the current output functions of the pretty-printer,
including line breaking and indentation functions.
- get_copy [Weak]
Weak.get_copy ar n returns None if the nth cell of ar is
empty, Some x (where x is a (shallow) copy of the value) if
it is full.
- get_ellipsis_text [Format]
Return the text of the ellipsis.
- get_exn [Option]
get_exn (Some x) e returns x and get_exn None e raises e.
- get_formatter_output_functions [Format]
Return the current output functions of the pretty-printer.
- get_formatter_tag_functions [Format]
Return the current tag functions of the pretty-printer.
- get_margin [Format]
Returns the position of the right margin.
- get_mark_tags [Format]
Return the current status of tags printing and tags marking.
- get_max_boxes [Format]
Returns the maximum number of boxes allowed before ellipsis.
- get_max_indent [Format]
Return the value of the maximum indentation limit (in characters).
- get_method [Oo.Internal]
- get_method_label [Oo.Internal]
- get_method_labels [Oo.Internal]
- get_print_tags [Format]
- get_public_method [Oo.Internal]
- get_resizer [Dyn_array]
Get the current resizer function for a given array
- get_state [Random]
Return the current state of the generator used by the basic functions.
- get_state [Future.Parser_co.Source]
- get_variable [Oo.Internal]
- get_variables [Oo.Internal]
- getaddrinfo [Unix]
getaddrinfo host service opts returns a list of Unix.addr_info
records describing socket parameters and addresses suitable for
communicating with the given host and service.
- getcwd [Shell]
Return the current working directory of the process.
- getcwd [Unix]
Return the name of the current working directory.
- getegid [Unix]
Return the effective group id under which the process runs.
- getenv [Shell]
Return the value associated to a variable in the process
environment.
- getenv [Unix]
Return the value associated to a variable in the process
environment.
- geteuid [Unix]
Return the effective user id under which the process runs.
- getgid [Unix]
Return the group id of the user executing the process.
- getgrgid [Unix]
Find an entry in group with the given group id, or raise
Not_found.
- getgrnam [Unix]
Find an entry in group with the given name, or raise
Not_found.
- getgroups [Unix]
Return the list of groups to which the user executing the process
belongs.
- gethostbyaddr [Unix]
Find an entry in hosts with the given address, or raise
Not_found.
- gethostbyname [Unix]
Find an entry in hosts with the given name, or raise
Not_found.
- gethostname [Unix]
Return the name of the local host.
- getitimer [Unix]
Return the current status of the given interval timer.
- getlogin [Unix]
Return the login name of the user executing the process.
- getnameinfo [Unix]
getnameinfo addr opts returns the host name and service name
corresponding to the socket address addr.
- getpeername [Unix]
Return the address of the host connected to the given socket.
- getpid [Unix]
Return the pid of the process.
- getppid [Unix]
Return the pid of the parent process.
- getprotobyname [Unix]
Find an entry in protocols with the given name, or raise
Not_found.
- getprotobynumber [Unix]
Find an entry in protocols with the given protocol number,
or raise Not_found.
- getpwnam [Unix]
Find an entry in passwd with the given name, or raise
Not_found.
- getpwuid [Unix]
Find an entry in passwd with the given user id, or raise
Not_found.
- getservbyname [Unix]
Find an entry in services with the given name, or raise
Not_found.
- getservbyport [Unix]
Find an entry in services with the given service number,
or raise Not_found.
- getsockname [Unix]
Return the address of the given socket.
- getsockopt [Unix]
Return the current status of a boolean-valued option
in the given socket.
- getsockopt_float [Unix]
Same as Unix.getsockopt for a socket option whose value is a floating-point number.
- getsockopt_int [Unix]
- getsockopt_optint [Unix]
- gettimeofday [Unix]
Same as Unix.time, but with resolution better than 1 second.
- getuid [Unix]
Return the user id of the user executing the process.
- global_replace [Str]
global_replace regexp templ s returns a string identical to s,
except that all substrings of s that match regexp have been
replaced by templ.
- global_substitute [Str]
global_substitute regexp subst s returns a string identical
to s, except that all substrings of s that match regexp
have been replaced by the result of function subst.
- gmtime [Unix]
Convert a time in seconds, as returned by Unix.time, into a date and
a time.
- group [Enum]
group test e devides e into an enumeration of enumerations, where
each sub-enumeration is the longest continuous enumeration of elements whose test
results are the same.
- group [List]
group cmp l returns list of groups and each group consists of elements judged equal by comparison function cmp.
- group_beginning [Str]
group_beginning n returns the position of the first character
of the substring that was matched by the nth group of
the regular expression.
- group_end [Str]
group_end n returns
the position of the character following the last character of
substring that was matched by the nth group of the regular expression.
- group_exec [File]
Give the permission to execute the file to the group
containing the user.
- group_read [File]
Give the permission to read the file to the group
containing the user.
- group_write [File]
Give the permission to write the file to the group
containing the user.
- gt_big_int [Big_int]
Usual boolean comparisons between two big integers.
- gt_num [Num]
- guard [Event]
guard fn returns the event that, when synchronized, computes
fn() and behaves as the resulting event.
- guard [Threads.Event]
guard fn returns the event that, when synchronized, computes
fn() and behaves as the resulting event.
- gzip_compress [GZip]
gzip-specific compression function, same as GZip.compress, but
enable to specifiy gzip-specific compression parameters
|
H |
- handle [Arg]
Arg.handle commands parses the command-line and applies
the specifications of commands and returns the list
of anonymous arguments.
- handle_unix_error [Unix]
handle_unix_error f x applies f to x and returns the result.
- hard_count [Enum]
hard_count returns the number of remaining in elements in e,
consuming the whole enumeration somewhere along the way.
- hash [Hashtbl.HashedType]
A hashing function on keys.
- hash [Hashtbl]
Hashtbl.hash x associates a positive integer to any value of
any type.
- hash_param [Hashtbl]
Hashtbl.hash_param n m x computes a hash value for x, with the
same properties as for hash.
- hashtbl_of_sexp [SExpr]
hashtbl_of_sexp conv_key conv_value sexp converts S-expression
sexp to a value of type ('a, 'b) Hashtbl.t using conversion
function conv_key, which converts an S-expression to hashtable
key of type 'a, and function conv_value, which converts an
S-expression to hashtable value of type 'b.
- hd [Seq]
Returns the first element of the sequence or raise Invalid_argument if
the sequence is empty.
- hd [Seq.Exceptionless]
- hd [Ref_list]
same as first
- hd [Lazy_list]
Return the first element of the given list.
- hd [List]
Returns the first element of the list or raise Empty_list if the
list is empty.
- head [Rope]
- head [String]
- head [String.Cap]
- header_size [Marshal]
The bytes representing a marshaled value are composed of
a fixed-size header and a variable-sized data part,
whose size can be determined from the header.
- height [Vect]
Returns the height (depth) of the vect.
- height [Vect.Make]
Returns the height (depth) of the vect.
- height [Rope]
Returns the height (depth) of the rope.
- help_option [Opt_parse.StdOpt]
help_option () returns the standard help option which
displays a usage message and exits the program when encountered
on the command line.
- hex [Future.Char_parser]
Recognizes one hexadecimal digit (case-insensitive)
- hex [Future.UChar_parser]
Recognizes one hexadecimal digit (case-insensitive)
|
I |
- i [Complex]
The complex number i.
- i16s_of [IO]
Read an enumartion of signed 16-bit words.
- i16s_of [IO.BigEndian]
Read an enumartion of signed 16-bit words.
- i32s_of [IO]
Read an enumeration of signed 32-bit integers.
- i32s_of [IO.BigEndian]
Read an enumeration of signed 32-bit integers.
- i64s_of [IO]
Read an enumeration of signed 64-bit integers as OCaml int64s.
- i64s_of [IO.BigEndian]
Read an enumeration of signed 64-bit integers as OCaml int64s.
- icompare [Rope]
Compare two ropes, case-insensitive.
- icompare [UChar]
Compare two unicode characters, case-insensitive.
- icompare [String]
Compare two strings, case-insensitive.
- icompare [String.Cap]
Compare two strings, case-insensitive.
- id [Thread]
Return the identifier of the given thread.
- id [Threads.Thread]
Return the identifier of the given thread.
- id [Oo]
Return an integer identifying this object, unique for
the current execution of the program.
- ident [Future.Genlex.Languages.Make]
Accepts any non-reserved identifier/operator.
- ident_letter [Future.Genlex.Languages.Definition]
- ident_letter [Extlib.ExtGenlex.Genlex.Languages.Definition]
- ident_start [Future.Genlex.Languages.Definition]
- ident_start [Extlib.ExtGenlex.Genlex.Languages.Definition]
- identifier [Future.Genlex.Languages.Make]
- identity [Standard]
The identity function.
- ifprintf [Format]
Same as fprintf above, but does not print anything.
- ifprintf [Printf]
- ifprintf [Print]
- ignore [Standard]
Discard the value of its argument and return ().
- ignore_dups_in [Packages]
If Some d, duplicate packages below d are ignored, and do not
* produce warnings.
- ignore_one_plus [Future.Parser_co]
Ignore a (non-empty) list of expressions.
- ignore_zero_plus [Future.Parser_co]
Ignore a (possibly empty) list of expressions.
- implode [Rope]
implode cs returns a rope resulting from concatenating
the characters in the list cs.
- implode [String]
implode cs returns a string resulting from concatenating
the characters in the list cs.
- implode [String.Cap]
implode cs returns a string resulting from concatenating
the characters in the list cs.
- in_channel_of_descr [Unix]
- incr [Standard]
Increment the integer contained in the given reference.
- incr_option [Opt_parse.StdOpt]
Exactly identical to count_option ~dest:dest ~increment:1 ().
- indented_formatter [Opt_parse.Formatter]
Create an "indented" formatter with the given options.
- index [Ref_list.Index]
Return the index (position : 0 starting) of an element in
a ref list, using the specified comparator
raise Not_found if no element was found
- index [UTF8]
As String.index
- index [Rope]
Rope.index s c returns the position of the leftmost
occurrence of character c in rope s.
- index [String]
String.index s c returns the position of the leftmost
occurrence of character c in string s.
- index [String.Cap]
String.index s c returns the position of the leftmost
occurrence of character c in string s.
- index_from [Rope]
Same as Rope.index, but start searching at the character
position given as second argument.
- index_from [String]
Same as String.index, but start
searching at the character position given as second argument.
- index_from [String.Cap]
Same as String.index, but start
searching at the character position given as second argument.
- index_of [Dyn_array]
index_of f darr returns the index of the first element x in darr such
as f x returns true or raise Not_found if not found.
- index_of [Ref_list.Index]
Return the index (position : 0 starting) of an element in
a ref list, using ( = ) for testing element equality
raise Not_found if no element was found
- index_of [Lazy_list]
index_of e l returns the index of the first occurrence of e
in l, or None if there is no occurrence of e in l
- index_of [List]
index_of e l returns the index of the first occurrence of e
in l, or None if there is no occurrence of e in l
- index_ofq [Lazy_list]
index_ofq e l behaves as index_of e l except it uses
physical equality
- index_ofq [List]
index_ofq e l behaves as index_of e l except it uses
physical equality
- inet6_addr_any [Unix]
A special IPv6 address, for use only with bind, representing
all the Internet addresses that the host machine possesses.
- inet6_addr_loopback [Unix]
A special IPv6 address representing the host machine (::1).
- inet_addr_any [Unix]
A special IPv4 address, for use only with bind, representing
all the Internet addresses that the host machine possesses.
- inet_addr_loopback [Unix]
A special IPv4 address representing the host machine (127.0.0.1).
- inet_addr_of_string [Unix]
Conversion from the printable representation of an Internet
address to its internal representation.
- infinity [Standard]
Positive infinity.
- infinity [Float]
Positive infinity.
- infinity [Safe_float]
Positive infinity.
- infix_tag [Obj]
- inherit_in [IO]
Simplified and optimized version of IO.wrap_in which may be used
whenever only one input appears as dependency.
- inherit_out [IO]
Simplified and optimized version of IO.wrap_out whenever only
one output appears as dependency.
- inherits [Oo.Internal]
- init [Array]
Array.init n f returns a fresh array of length n,
with element number i initialized to the result of f i.
- init [Array.Cap]
Array.init n f returns a fresh array of length n,
with element number i initialized to the result of f i.
- init [Array.Cap.Labels]
- init [Array.Labels]
- init [Dyn_array]
init n f returns an array of n elements filled with values
returned by f 0 , f 1, ... f (n-1).
- init [Enum]
init n f creates a new enumeration over elements
f 0, f 1, ..., f (n-1)
- init [Enum.Labels]
- init [Seq]
init n f returns the sequence returning the results of f 0,
f 1....
- init [Vect]
init n f returns a fresh vect of length n,
with element number i initialized to the result of f i.
- init [Lazy_list]
Similar to Array.init, init n f returns the lazy list
containing the results of (f 0),(f 1)....
- init [List]
Similar to Array.init, init n f returns the list containing
the results of (f 0),(f 1)....
- init [List.Labels]
- init [UTF8]
init len f
returns a new string which contains len Unicode characters.
- init [Rope]
init l f returns the rope of length l with the chars f 0 , f
1 , f 2 ...
- init [String]
init l f returns the string of length l with the chars
f 0 , f 1 , f 2 ...
- init [String.Cap]
init l f returns the string of length l with the chars
f 0 , f 1 , f 2 ...
- init [Packages]
Initializes the library from the configuration file and the environment.
- init [Random]
Initialize the generator, using the argument as a seed.
- init [Future.Logger]
init name_level_list formatter initializes the logging
system enabling the specified levels for each named
logger.
- init_class [Oo.Internal]
- init_from_string [Future.Logger]
init_from_string name_level_string formatter initializes the
logging system enabling the specified levels for each named
logger.
- init_manually [Packages]
This is an alternate way to initialize the library directly.
- init_mod [Modules]
- input [Standard]
input ic buf pos len reads up to len characters from
the given channel ic, storing them in string buf, starting at
character number pos.
- input [IO]
input i s p l reads up to l characters from the given input,
storing them in string s, starting at character number p.
- input [Marshal]
input inp reads from inp the
byte representation of a structured value, as produced by
one of the Marshal.to_* functions, and reconstructs and
returns the corresponding value.
- input [MD5]
Read a digest from the given input.
- input_binary_int [Standard]
Read an integer encoded in binary format (4 bytes, big-endian)
from the given input channel.
- input_bits [IO]
Read bits from an input
- input_byte [Standard]
- input_channel [IO]
Create an input that will read from a channel.
- input_char [Standard]
Read one character from the given input channel.
- input_enum [IO]
Create an input that will read from an enum.
- input_line [Standard]
Read characters from the given input channel, until a
newline character is encountered.
- input_of_channel [Net_channels]
Create a Batteries System.IO.input channel from an input
Netchannel
- input_of_descr [Unix]
Create an input reading from the given descriptor.
- input_rev_sexps [SExpr]
input_rev_sexps ?buf ic same as Sexp.input_sexps, but returns a
reversed list of S-expressions, which is slightly more efficient.
- input_sexp [SExpr]
input_sexp ?text_line ?text_char ?buf_pos ic parses an S-expression
from input channel ic using initial position information
text_line, text_char, and buf_pos.
- input_sexps [SExpr]
input_sexps ?text_line ?text_char ?buf_pos ??buf ic parses
whitespace separated S-expressions from input channel ic until
EOF is reached.
- input_string [IO]
Create an input that will read from a string.
- input_value [Standard]
Read the representation of a structured value, as produced
by Standard.output_value, and return the corresponding value.
- insert [Dyn_array]
insert darr idx v inserts v into darr at index idx.
- insert [Vect]
insert n r u returns a copy of the u vect where r has been
inserted between the elements with index n and n + 1 in the
original vect.
- insert [Vect.Make]
insert n r u returns a copy of the u vect where r has been
inserted between the elements with index n and n + 1 in the
original vect.
- insert [Rope]
insert n r u returns a copy of the u rope where r has been
inserted between the characters with index n and n + 1 in the
original rope.
- int [Big_array]
- int [Random]
Random.int bound returns a random integer between 0 (inclusive)
and bound (exclusive).
- int [Random.State]
- int16_signed [Big_array]
- int16_unsigned [Big_array]
- int32 [Big_array]
- int32 [Random]
Random.int32 bound returns a random integer between 0 (inclusive)
and bound (exclusive).
- int32 [Random.State]
- int32_of_sexp [SExpr]
int32_of_sexp sexp converts S-expression sexp to a value of type
int32.
- int64 [Big_array]
- int64 [Random]
Random.int64 bound returns a random integer between 0 (inclusive)
and bound (exclusive).
- int64 [Random.State]
- int64_of_sexp [SExpr]
int64_of_sexp sexp converts S-expression sexp to a value of type
int64.
- int8_signed [Big_array]
- int8_unsigned [Big_array]
- int_callback [Opt_parse.StdOpt]
int_callback ?metavar f returns an option which takes a single
integer argument and calls f with that argument when encountered
on the command line.
- int_of_big_int [Big_int]
Convert a big integer to a small integer (type int).
- int_of_char [Standard]
Return the ASCII code of the argument.
- int_of_float [Standard]
Truncate the given floating-point number to an integer.
- int_of_sexp [SExpr]
int_of_sexp sexp converts S-expression sexp to a value of type
int.
- int_of_string [Standard]
Convert the given string to an integer.
- int_option [Opt_parse.StdOpt]
int_option ?default ?metavar () returns an option which takes
a single integer argument.
- int_tag [Obj]
- integer [Future.Genlex.Languages.Make]
Parse an integer.
- inter [Set.S]
Set intersection.
- inter [Extlib.ExtSet.Set.S]
Set intersection.
- inter [Bit_set]
inter s t returns the intersection of sets s and t.
- interactive [Shell]
This reference is initially set to false in standalone
programs and to true if the code is being executed under
the interactive toplevel system ocaml.
- interleave [List]
interleave ~first ~last sep [a1;a2;a3;...;an] returns
first; a1; sep; a2; sep; a3; sep; ...; sep; an
- intersect [Bit_set]
intersect s t sets s to the intersection of the sets s and t.
- inv [Complex]
Multiplicative inverse (1/z).
- invalid_arg [Standard]
Raise exception Invalid_argument with the given string.
- is_absolute [Future.PathGen.PathType]
- is_absolute [Extlib.PathGen.PathType]
- is_block [Obj]
- is_digit [Char]
Determine if a character represents a digit.
- is_directory [Shell]
Returns true if the given name refers to a directory,
false if it refers to another kind of file.
- is_directory [Unix]
is_directory filename returns true if filename refers to a directory (or symlink of a directory
- is_empty [Enum]
is_empty e returns true if e does not contains any element.
- is_empty [Seq]
is_empty e returns true if e does not contains any
element.
- is_empty [Hashtbl.S]
- is_empty [Hashtbl]
Hashtbl.is_empty tbl returns true if there are no bindings
in tbl, false otherwise.
- is_empty [Extlib.ExtHashtbl.Hashtbl.S]
- is_empty [Hashtbl.Cap]
Hashtbl.is_empty tbl returns true if there are no bindings
in tbl, false otherwise.
- is_empty [Ref_list]
Return true if a ref list is empty
- is_empty [Queue]
Return true if the given queue is empty, false otherwise.
- is_empty [Stack]
Return true if the given stack is empty, false otherwise.
- is_empty [Stream]
is_empty stream tests whether stream is empty.
- is_empty [Vect]
Returns whether the vect is empty or not.
- is_empty [Vect.Make]
Returns whether the vect is empty or not.
- is_empty [Lazy_list]
Returns true if the list is empty, false otherwise.
- is_empty [List]
is_empty e returns true if e does not contains any element.
- is_empty [Map.S]
Test whether a map is empty or not.
- is_empty [Extlib.ExtMap.Map.S]
Test whether a map is empty or not.
- is_empty [Multi_pmap]
returns true if the map is empty.
- is_empty [PMap]
returns true if the map is empty.
- is_empty [PSet]
Test whether a set is empty or not.
- is_empty [Set.S]
Test whether a set is empty or not.
- is_empty [Extlib.ExtSet.Set.S]
Test whether a set is empty or not.
- is_empty [Rope]
Returns whether the rope is empty or not.
- is_empty [String]
is_empty s returns true if s is the empty string, false
otherwise.
- is_empty [String.Cap]
Determine if a string is empty.
- is_implicit [Path]
Return true if the file name is relative and does not start
with an explicit reference to the current directory (./ or
../ in Unix), false if it starts with an explicit reference
to the root directory or the current directory.
- is_int [Obj]
- is_int_big_int [Big_int]
Test whether the given big integer is small enough to
be representable as a small integer (type int)
without loss of precision.
- is_integer [Num]
is_integer x returns true if x represents an integer value,
false otherwise
- is_latin1 [Char]
Determine if a character is a Latin 1 letter.
- is_letter [Char]
Determine if a character represents a ASCII letter.
- is_lowercase [Char]
Determine if a character is lowercase ASCII.
- is_lowercase [UChar]
Determine if a character is an lowercase character.
- is_lowercase_latin1 [Char]
Determine if a character is lowercase Latin 1.
- is_nan [Float]
is_nan f returns true if f is nan, false otherwise.
- is_nan [Safe_float]
is_nan f returns true if f is nan, false otherwise.
- is_newline [Char]
Determine if a character is a newline.
- is_newline [UChar]
Determine if a character is a newline.
- is_none [Option]
is_none None returns true otherwise it returns false.
- is_relative [Path]
Return true if the file name is relative to the current
directory, false if it is absolute (i.e.
- is_relative [Future.PathGen.PathType]
- is_relative [Extlib.PathGen.PathType]
- is_set [Bit_set]
is_set s n returns true if nth-bit in the bitset s is set,
or false otherwise.
- is_set [Opt_parse.Opt]
Find out if the option has a value (either by default or
from the command line).
- is_some [Option]
is_some (Some x) returns true otherwise it returns false.
- is_symbol [Char]
Determine if a character represents a (OCaml-style)
symbol.
- is_uppercase [Char]
Determine if a character is uppercase ASCII.
- is_uppercase [UChar]
Determine if a character is an uppercase character.
- is_uppercase_latin1 [Char]
Determine if a character is uppercase Latin 1.
- is_whitespace [Char]
Determine if a character is a whitespace.
- is_whitespace [UChar]
Determine if a character is a whitespace.
- isatty [Unix]
Return true if the given file descriptor refers to a terminal or
console window, false otherwise.
- isdef [Global]
Return true if the global value has been set.
- iter [Standard]
Imperative loop on an enumeration.
- iter [Array]
Array.iter f a applies function f in turn to all
the elements of a.
- iter [Array.Cap]
Iterators
- iter [Array.Cap.Labels]
- iter [Array.Labels]
- iter [Big_array.Genarray]
iter f a applies function f in turn to all
the elements of a.
- iter [Dllist]
iter f n Apply f to every element in the list, starting at n.
- iter [Dyn_array]
iter f darr calls the function f on every element of darr.
- iter [Enum]
iter f e calls the function f with each elements of e in turn.
- iter [Enum.Labels]
- iter [Seq]
iter f s applies f to all the elements of the sequence.
- iter [Hashtbl.S]
- iter [Hashtbl]
Hashtbl.iter f tbl applies f to all bindings in table tbl.
- iter [Hashtbl.Labels]
- iter [Extlib.ExtHashtbl.Hashtbl.S]
- iter [Extlib.ExtHashtbl.Hashtbl.S.Labels]
- iter [Hashtbl.Cap]
Traversing
- iter [Hashtbl.Cap.Labels]
- iter [Hashtbl.S.Labels]
- iter [Ref_list]
Apply the given function to all elements of the
ref list, in respect with the order of the list
- iter [Queue]
iter f q applies f in turn to all elements of q,
from the least recently entered to the most recently entered.
- iter [Stack]
iter f s applies f in turn to all elements of s,
from the element at the top of the stack to the element at the
bottom of the stack.
- iter [Stream]
Stream.iter f s scans the whole stream s, applying function f
in turn to each stream element encountered.
- iter [Vect.RANDOMACCESS]
- iter [Vect]
iter f r applies f to all the elements in the r vect,
in order.
- iter [Vect.Make]
iter f r applies f to all the elements in the r vect,
in order.
- iter [Lazy_list]
Eager iteration
- iter [Lazy_list.Labels]
- iter [List]
List.iter f [a1; ...; an] applies function f in turn to
a1; ...; an.
- iter [List.Labels]
- iter [Map.S]
iter f m applies f to all bindings in map m.
- iter [Extlib.ExtMap.Map.S.Labels]
- iter [Extlib.ExtMap.Map.S]
iter f m applies f to all bindings in map m.
- iter [Map.S.Labels]
- iter [Multi_pmap]
iter f m applies f to all bindings in map m.
- iter [PMap]
iter f m applies f to all bindings in map m.
- iter [PSet]
iter f s applies f in turn to all elements of s.
- iter [Set.S]
iter f s applies f in turn to all elements of s.
- iter [Extlib.ExtSet.Set.S.Labels]
- iter [Extlib.ExtSet.Set.S]
iter f s applies f in turn to all elements of s.
- iter [Set.S.Labels]
- iter [UTF8]
iter f s
applies f to all Unicode characters in s.
- iter [Rope]
iter f r applies f to all the characters in the r rope,
in order.
- iter [String]
String.iter f s applies function f in turn to all
the characters of s.
- iter [String.Cap]
String.iter f s applies function f in turn to all
the characters of s.
- iter [Weak.S]
iter f t calls f on each element of t, in some unspecified
order.
- iter [Batlib_Baselib_Weak.S]
iter f t calls f on each element of t, in some unspecified
order.
- iter [Future.PathGen.StringType]
- iter2 [Array]
Array.iter2 f [|a1; ...; an|] [|b1; ...; bn|] performs
calls f a1 b1; ...; f an bn in that order.
- iter2 [Array.Cap]
Operations on two arrays
- iter2 [Array.Cap.Labels]
- iter2 [Array.Labels]
- iter2 [Enum]
iter2 f e1 e2 calls the function f with the next elements of e and
e2 repeatedly until one of the two enumerations ends.
- iter2 [Enum.Labels]
- iter2 [Lazy_list]
iter2 f [a1; ...; an] [b1; ...; bn] calls in turn
f a1 b1; ...; f an bn.
- iter2 [Lazy_list.Labels]
- iter2 [List]
List.iter2 f [a1; ...; an] [b1; ...; bn] calls in turn
f a1 b1; ...; f an bn.
- iter2 [List.Labels]
- iter2i [Array]
Array.iter2i f [|a1; ...; an|] [|b1; ...; bn|] performs
calls f 0 a1 b1; ...; f (n - 1) an bn in that order.
- iter2i [Array.Cap]
Array.iter2i f [|a1; ...; an|] [|b1; ...; bn|] performs
calls f 0 a1 b1; ...; f (n - 1) an bn in that order.
- iter2i [Array.Cap.Labels]
- iter2i [Array.Labels]
- iter2i [Enum]
- iter2i [Enum.Labels]
- iteri [Array]
Same as Array.iter, but the
function is applied to the index of the element as first argument,
and the element itself as second argument.
- iteri [Array.Cap]
Same as Array.iter, but the
function is applied to the index of the element as first argument,
and the element itself as second argument.
- iteri [Array.Cap.Labels]
- iteri [Array.Labels]
- iteri [Big_array.Genarray]
Same as Big_array.Genarray.iter, but the
function is applied to the index of the coordinates as the first
argument, and the element itself as the second argument.
- iteri [Dyn_array]
iter f darr calls the function f on every element of darr.
- iteri [Enum]
- iteri [Enum.Labels]
- iteri [Vect]
Operates like iter, but also passes the index of the character
to the given function.
- iteri [Vect.Make]
Operates like iter, but also passes the index of the character
to the given function.
- iteri [Lazy_list]
Eager iteration, with indices
- iteri [Lazy_list.Labels]
- iteri [List]
iteri f l will call (f 0 a0);(f 1 a1) ... (f n an) where
a0..an are the elements of the list l.
- iteri [List.Labels]
- iteri [Rope]
Operates like iter, but also passes the index of the character
to the given function.
- iteri [String]
String.iteri f s is equivalent to
f 0 s.[0]; f 1 s.[1]; ...; f len s.[len] where len is length of string s.
- iteri [Future.PathGen.StringType]
|
J |
- join [Thread]
join th suspends the execution of the calling thread
until the thread th has terminated.
- join [Threads.Thread]
join th suspends the execution of the calling thread
until the thread th has terminated.
- join [UTF8]
as concat
- join [Rope]
- join [String]
- join [String.Cap]
Same as concat
- join [Future.PathGen.PathType]
Create a path from given components.
- join [Extlib.PathGen.PathType]
Create a path from given components.
- junk [Standard]
junk e removes the first element from the enumeration, if any.
- junk [Enum]
junk e removes the first element from the enumeration, if any.
- junk [Stream]
Remove the first element of the stream, possibly unfreezing
it before.
|
K |
- kbprintf [Printf]
Same as bprintf, but instead of returning immediately,
passes the buffer to its first argument at the end of printing.
- kbprintf [Print]
bprintf k buf fmt prints into the buffer buf, then call k
with buf as argument.
- kbprintf2 [Printf]
Same as bprintf2, but instead of returning immediately,
passes the buffer to its first argument at the end of printing.
- keep [Dyn_array]
keep p darr removes in place all the element x of darr
such that p x = false
- keys [Hashtbl.S]
- keys [Hashtbl]
Return an enumeration of all the keys of a hashtable.
- keys [Extlib.ExtHashtbl.Hashtbl.S]
- keys [Hashtbl.Cap]
Return an enumeration of all the keys of a hashtable.
- keys [Map.S]
Return an enumeration of all the keys of a map.
- keys [Extlib.ExtMap.Map.S]
Return an enumeration of all the keys of a map.
- keyword [Future.Genlex.Languages.Make]
- kfprintf [Format]
Same as fprintf above, but instead of returning immediately,
passes the formatter to its first argument at the end of printing.
- kfprintf [Printf]
Same as fprintf, but instead of returning immediately, passes the output to its first
argument at the end of printing.
- kfprintf [Print]
kfprintf k oc fmt prints on oc then call k with oc as
argument
- kill [Thread]
Terminate prematurely the thread whose handle is given.
- kill [Threads.Thread]
Terminate prematurely the thread whose handle is given.
- kill [Unix]
kill pid sig sends signal number sig to the process
with id pid.
- kind [Big_array.Genarray]
Return the kind of the given big array.
- kind [Big_array.Array1]
Return the kind of the given big array.
- kind [Big_array.Array2]
Return the kind of the given big array.
- kind [Big_array.Array3]
Return the kind of the given big array.
- kprintf [Format]
A deprecated synonym for ksprintf.
- kprintf [Printf]
- krprintf [Print]
krprintf k fmt creates a rope from the format and other
arguments and pass it to k
- kscanf [Scanf]
Same as Scanf.bscanf, but takes an additional function argument
ef that is called in case of error: if the scanning process or
some conversion fails, the scanning function aborts and calls the
error handling function ef with the scanning buffer and the
exception that aborted the scanning process.
- ksprintf [Format]
Same as sprintf above, but instead of returning the string,
passes it to the first argument.
- ksprintf [Printf]
Same as sprintf above, but instead of returning the string,
passes it to the first argument.
- ksprintf [Print]
ksprintf k fmt creates a string from the format and other
arguments and pass it to k
- ksprintf2 [Printf]
Same as sprintf2 above, but instead of returning the string,
passes it to the first argument.
- kwd [Future.Genlex.Languages.Make]
Accepts any identifier.
|
L |
- label [Return]
label f creates a new label x and invokes
f x.
- label [Future.Parser_co]
Give a name to a parser, for debugging purposes.
- last [Dyn_array]
last darr returns the last element of darr.
- last [Seq]
Returns the last element of the sequence, or raise Invalid_argument if
the sequence is empty.
- last [Seq.Exceptionless]
- last [Ref_list]
Returns the last element - O(n) or
raises Empty_list if the ref list is empty
- last [Lazy_list]
Returns the last element of the list, or raise Empty_list if
the list is empty.
- last [List]
Returns the last element of the list, or raise Empty_list if
the list is empty.
- last [UTF8.Byte]
- last_chars [Str]
last_chars s n returns the last n characters of s.
- latin1 [Future.Char_parser]
Recognizes one lower- or upper-case Latin1 character, including
accentuated characters.
- layout [Big_array.Genarray]
Return the layout of the given big array.
- layout [Big_array.Array1]
Return the layout of the given big array.
- layout [Big_array.Array2]
Return the layout of the given big array.
- layout [Big_array.Array3]
Return the layout of the given big array.
- lazy_from_fun [Lazy]
lazy_from_fun f is the same as lazy (f ()) but slightly more
efficient.
- lazy_from_val [Lazy]
lazy_from_val v returns an already-forced suspension of v
This is for special purposes only and should not be confused with
lazy (v).
- lazy_is_val [Lazy]
lazy_is_val x returns true if x has already been forced and
did not raise an exception.
- lazy_of_sexp [SExpr]
lazy_of_sexp conv sexp converts S-expression sexp to a value
of type 'a lazy_t using conversion function conv, which converts
an S-expression to a value of type 'a.
- lazy_tag [Obj]
- lchop [Rope]
Returns the same rope but without the first character.
- lchop [String]
Returns the same string but without the first character.
- lchop [String.Cap]
Returns the same string but without the first character.
- ldexp [Standard]
ldexp x n returns x *. 2 ** n.
- ldexp [Float]
ldexp x n returns x *. 2 ** n.
- ldexp [Safe_float]
ldexp x n returns x *. 2 ** n.
- le_big_int [Big_int]
- le_num [Num]
- left [Rope]
left r len returns the rope containing the len first characters of r
- left [String]
left r len returns the string containing the len first characters of r
- left [String.Cap]
left r len returns the string containing the len first characters of r
- length [Array]
Return the length (number of elements) of the given array.
- length [Array.Cap]
Return the length (number of elements) of the given array.
- length [Dllist]
Returns the length of the list.
- length [Dyn_array]
Return the number of elements in the array.
- length [Seq]
Return the number of elements of the given sequence.
- length [Hashtbl.S]
- length [Hashtbl]
Hashtbl.length tbl returns the number of bindings in tbl.
- length [Extlib.ExtHashtbl.Hashtbl.S]
- length [Hashtbl.Cap]
Base operations
- length [Ref_list]
Returns the number of elements - O(n)
- length [Queue]
Return the number of elements in a queue.
- length [Stack]
Return the number of elements in a stack.
- length [Vect.RANDOMACCESS]
- length [Vect]
Returns the length of the vect (O(1)).
- length [Vect.Make]
Returns the length of the vect (O(1)).
- length [Lazy_list]
Return the length (number of elements) of the given list.
- length [List]
Return the length (number of elements) of the given list.
- length [Buffer]
Return the number of characters currently contained in the buffer.
- length [UTF8]
length s returns the number of Unicode characters contained in s
- length [Rope]
Returns the length of the rope (O(1)).
- length [String]
Return the length (number of characters) of the given string.
- length [String.Cap]
Return the length (number of characters) of the given string.
- length [Weak]
Weak.length ar returns the length (number of elements) of
ar.
- length [Future.PathGen.StringType]
Length - number of indexing units
- length0 [UTF8]
UTF8 encoding often calls for the encoding of a Unicode character
with several bytes.
- letter [Future.Char_parser]
Recognizes one lower- or upper-case ASCII character, including
accentuated characters.
- letter [Future.UChar_parser]
Recognizes one lower- or upper-case character.
- letter [Future.PathGen.StringType.Parse]
- level_of_name [Future.Logger]
level_of_name str returns the level associated with str.
- lexeme [Lexing]
Lexing.lexeme lexbuf returns the string matched by
the regular expression.
- lexeme_char [Lexing]
Lexing.lexeme_char lexbuf i returns character number i in
the matched string.
- lexeme_end [Lexing]
Lexing.lexeme_end lexbuf returns the offset in the input stream
of the character following the last character of the matched
string.
- lexeme_end_p [Lexing]
Like lexeme_end, but return a complete position instead
of an offset.
- lexeme_start [Lexing]
Lexing.lexeme_start lexbuf returns the offset in the
input stream of the first character of the matched string.
- lexeme_start_p [Lexing]
Like lexeme_start, but return a complete position instead
of an offset.
- lift [Future.PathGen.StringType]
Convert from UTF-8 string of primitive string type.
- lift_char [Future.PathGen.StringType]
Convert Latin-1 character to tchar.
- line_comment [Future.Genlex.Languages.Make]
- line_comment_start [Future.Genlex.Languages.Definition]
- line_comment_start [Extlib.ExtGenlex.Genlex.Languages.Definition]
- lines_of [IO]
Read an enumeration of LF or CRLF terminated strings.
- lines_of [File]
line_of name reads the contents of file name as an enumeration of lines.
- link [Unix]
link source dest creates a hard link named dest to the file
named source.
- list_of_sexp [SExpr]
list_of_sexp conv sexp converts S-expression sexp to a value
of type 'a list using conversion function conv, which converts
an S-expression to a value of type 'a.
- list_packages [Packages]
Prints the list of available packages to the channel.
- listen [Unix]
Set up a socket for receiving connection requests.
- literal [Print]
literal str create a directive which do not take any argument
from a literal string
- lnot [Standard]
Bitwise logical negation.
- load_rev_sexps [SExpr]
load_rev_sexps file same as Sexp.load_sexps, but returns a
reversed list of S-expressions, which is slightly more efficient.
- load_sexp [SExpr]
load_sexp ?buf file reads one S-expression from file file using
buffer buf for storing intermediate data.
- load_sexps [SExpr]
load_sexps file reads a list of whitespace separated S-expressions
from file file using buffer buf for storing intermediate data.
- localtime [Unix]
Convert a time in seconds, as returned by Unix.time, into a date and
a time.
- localzone [Date]
The offset in minutes for the local time zone from the UTC
- lock [Standard]
A lock used to synchronize internal operations.
- lock [Concurrency.Lock]
- lock [Concurrency.BaseLock]
- lock [Extlib.Concurrent.Lock]
- lock [Mutex]
Lock the given mutex.
- lock [RMutex]
Lock the given mutex.
- lock [Threads.Mutex]
Lock the given mutex.
- lock [Threads.RMutex]
Lock the given mutex.
- lock [IO]
A lock used to synchronize internal operations.
- lock [Unix]
A lock used to synchronize internal operations.
- lock_factory [IO]
A factory used to create locks.
- lockf [Unix]
lockf fd cmd size puts a lock on a region of the file opened
as fd.
- log [Standard]
Natural logarithm.
- log [Complex]
Natural logarithm (in base e).
- log [Float]
Natural logarithm.
- log [Safe_float]
Natural logarithm.
- log [Future.Logger]
log logger level event_fun raises a log event if if the
specified level is currently enabled for the logger.
- log10 [Standard]
Base 10 logarithm.
- log10 [Float]
Base 10 logarithm.
- log10 [Safe_float]
Base 10 logarithm.
- log_enable [Future.Logger]
log_enable logger level enables a log level for a logger.
- log_enabled [Future.Logger]
log_enabled logger level returns true if the specified level is
currently enabled for the logger.
- log_level [Future.Logger]
log_level logger returns the currently enabled level for a logger.
- log_name [Future.Logger]
log_name logger returns the name of the logger.
- logand [Int32]
Bitwise logical and.
- logand [Int64]
Bitwise logical and.
- logand [Native_int]
Bitwise logical and.
- lognot [Int32]
Bitwise logical negation
- lognot [Int64]
Bitwise logical negation
- lognot [Native_int]
Bitwise logical negation
- logor [Int32]
Bitwise logical or.
- logor [Int64]
Bitwise logical or.
- logor [Native_int]
Bitwise logical or.
- logxor [Int32]
Bitwise logical exclusive or.
- logxor [Int64]
Bitwise logical exclusive or.
- logxor [Native_int]
Bitwise logical exclusive or.
- look [UTF8]
look s i
returns the Unicode character of the location i in the string s.
- lookahead [Future.Parser_co]
lookahead p behaves as maybe p but without consuming anything
- lookup_tables [Oo.Internal]
- lowercase [Standard]
Return a copy of the argument, with all uppercase letters
translated to lowercase, including accented letters of the ISO
Latin-1 (8859-1) character set.
- lowercase [Char]
Convert the given character to its equivalent lowercase character.
- lowercase [UTF8]
Return a copy of the argument, with all uppercase letters
translated to lowercase.
- lowercase [Rope]
lowercase s returns a lowercase copy of rope s.
- lowercase [UChar]
Convert the given character to its equivalent lowercase
character.
- lowercase [String]
Return a copy of the argument, with all uppercase letters
translated to lowercase, including accented letters of the ISO
Latin-1 (8859-1) character set.
- lowercase [String.Cap]
Return a copy of the argument, with all uppercase letters
translated to lowercase, including accented letters of the ISO
Latin-1 (8859-1) character set.
- lowercase [Future.Char_parser]
Recognizes one lower-case ASCII character, including
accentuated characters.
- lowercase [Future.UChar_parser]
Recognizes one lower-case character, including
accentuated characters.
- lowercase_latin1 [Future.Char_parser]
Recognizes one lower-case Latin-1 character, including
accentuated characters.
- lseek [Unix]
Set the current position for a file descriptor
- lseek [Unix.LargeFile]
- lstat [Unix]
Same as Unix.stat, but in case the file is a symbolic link,
return the information for the link itself.
- lstat [Unix.LargeFile]
- lt_big_int [Big_int]
- lt_num [Num]
|
M |
- magic [Obj]
- major [Gc]
Do a minor collection and finish the current major collection cycle.
- major_slice [Gc]
Do a minor collection and a slice of major collection.
- make [Concurrency.Lock]
- make [Extlib.Concurrent.Lock]
- make [Mutex]
Create a new abstract lock based on Mutexes.
- make [RMutex]
Create a new abstract lock based on Reentrant Mutexes.
- make [Threads.Mutex]
Create a new abstract lock based on Mutexes.
- make [Threads.RMutex]
Create a new abstract lock based on Reentrant Mutexes.
- make [Array]
Array.make n x returns a fresh array of length n,
initialized with x.
- make [Array.Cap]
Constructors
- make [Array.Cap.Labels]
- make [Dyn_array]
make count returns an array with some memory already allocated so
up to count elements can be stored into it without resizing.
- make [Enum]
This function creates a fully defined enumeration.
- make [Seq]
make n e returns the sequence of length n where all elements
are e
- make [Vect.RANDOMACCESS]
- make [Vect]
make i c returns a vect of length i whose elements are all equal to
c; it is similar to Array.make
- make [Vect.Make]
make i c returns a vect of length i whose elements are all equal to
c; it is similar to Array.make
- make [Lazy_list]
Similar to String.make, make n x returns a
list containing n elements x.
- make [List]
Similar to String.make, make n x returns a
list containing n elements x.
- make [UTF8]
- make [Rope]
make i c returns a rope of length i consisting of c chars;
it is similar to String.make
- make [String]
String.make n c returns a fresh string of length n,
filled with the character c.
- make [String.Cap]
String.make n c returns a fresh string of length n,
filled with the character c.
- make [Opt_parse.OptParser]
Creates a new option parser with the given options.
- make [Random.State]
Create a new state and initialize it with the given seed.
- make_class [Oo.Internal]
- make_class_store [Oo.Internal]
- make_compare [Array]
make_compare c generates the lexicographical order on arrays
induced by c
- make_compare [Array.Cap]
Utilities
- make_compare [List]
make_compare c generates the lexicographical order on lists
induced by c
- make_dbg_formatter [Future.Logger]
make_dbg_formatter oc constructs a debug formatter from an
output channel.
- make_decoding_table [Base64]
Create a valid decoding table from an encoding one.
- make_formatter [Format]
make_formatter out flush returns a new formatter that
writes according to the output function out, and the flushing
function flush.
- make_lexer [Future.Genlex]
Old functions
- make_log [Future.Logger]
make_log name returns a new logger.
- make_matrix [Array]
Array.make_matrix dimx dimy e returns a two-dimensional array
(an array of arrays) with first dimension dimx and
second dimension dimy.
- make_matrix [Array.Cap]
Array.make_matrix dimx dimy e returns a two-dimensional array
(an array of arrays) with first dimension dimx and
second dimension dimy.
- make_matrix [Array.Cap.Labels]
- make_matrix [Array.Labels]
- make_self_init [Random.State]
Create a new state and initialize it with a system-dependent
low-entropy seed.
- make_std_formatter [Future.Logger]
make_std_formatter oc constructs a formatter from an output
channel.
- map [Standard]
Transformation loop on an enumeration, used to build an enumeration
from another enumeration.
- map [Data.Mappable]
map f e applies f to every element of e and returns the corresponding data structure
- map [Array]
Array.map f a applies function f to all the elements of a,
and builds an array with the results returned by f:
[| f a.(0); f a.(1); ...; f a.(Array.length a - 1) |].
- map [Array.Cap]
Array.map f a applies function f to all the elements of a,
and builds an array with the results returned by f:
[| f a.(0); f a.(1); ...; f a.(Array.length a - 1) |].
- map [Array.Cap.Labels]
- map [Array.Labels]
- map [Big_array.Genarray]
map f a applies function f to all the elements of a,
and builds a Big_array.t with the results returned by f.
- map [Big_array.Array1]
Array1.map f a applies function f to all the elements of a,
and builds a Big_array.Array1.t with the results returned by f.
- map [Big_array.Array2]
Array2.map f a applies function f to all the elements of a,
and builds a Big_array.Array2.t with the results returned by f.
- map [Big_array.Array3]
Array3.map f a applies function f to all the elements of a,
and builds a Big_array.Array3.t with the results returned by f.
- map [Dllist]
Allocate a new list, with entirely new nodes, whose values are
the transforms of the values of the original list.
- map [Dyn_array]
map f darr applies the function f to every element of darr
and creates a dynamic array from the results - similar to List.map or
Array.map.
- map [Enum]
map f e returns an enumeration over (f a1, f a2, ... , f aN) where
a1...N are the elements of e.
- map [Enum.Labels]
- map [Seq]
map f s returns the sequence where elements are elements of
s mapped with f.
- map [Hashtbl.S]
- map [Hashtbl]
map f x creates a new hashtable with the same
keys as x, but with the function f applied to
all the values
- map [Hashtbl.Labels]
- map [Extlib.ExtHashtbl.Hashtbl.S]
- map [Extlib.ExtHashtbl.Hashtbl.S.Labels]
- map [Hashtbl.Cap]
map f x creates a new hashtable with the same
keys as x, but with the function f applied to
all the values
- map [Hashtbl.S.Labels]
- map [Ref_list]
Apply a function to all elements
and return the ref list constructed with
the function returned values
- map [Stream]
map f stream applies f in turn to elements from stream and return the
results as a stream in the same order.
- map [Vect.RANDOMACCESS]
- map [Vect]
map f v returns a vect isomorphic to v where each element of index
i equals f (get v i).
- map [Vect.Make]
map f v returns a vect isomorphic to v where each element of index
i equals f (get v i).
- map [Lazy_list]
Lazy map
- map [Lazy_list.Labels]
- map [List]
map f [a1; ...; an] applies function f to a1, ..., an,
and builds the list [f a1; ...; f an]
with the results returned by f.
- map [List.Labels]
- map [Map.S]
map f m returns a map with same domain as m, where the
associated value a of all bindings of m has been
replaced by the result of the application of f to a.
- map [Extlib.ExtMap.Map.S.Labels]
- map [Extlib.ExtMap.Map.S]
map f m returns a map with same domain as m, where the
associated value a of all bindings of m has been
replaced by the result of the application of f to a.
- map [Map.S.Labels]
- map [Multi_pmap]
map f m returns a map with same domain as m, where the
associated value a of all bindings of m has been
replaced by the result of the application of f to a.
- map [Option]
map f (Some x) returns Some (f x) and map f None returns None.
- map [Option.Labels]
- map [PMap]
map f m returns a map with same domain as m, where the
associated value a of all bindings of m has been
replaced by the result of the application of f to a.
- map [PSet]
map f x creates a new set with elements f a0,
f a1...
- map [Set.S]
map f x creates a new set with elements f a0,
f a1...
- map [Extlib.ExtSet.Set.S.Labels]
- map [Extlib.ExtSet.Set.S]
map f x creates a new set with elements f a0,
f a1...
- map [Set.S.Labels]
- map [UTF8]
As String.map
- map [Rope]
map f s returns a rope where all characters c in s have been
replaced by f c.
- map [String]
map f s returns a string where all characters c in s have been
replaced by f c.
- map [String.Cap]
map f s returns a string where all characters c in s have been
replaced by f c.
- map [Future.PathGen.PathType]
Map a path through a function that operates on separate components.
- map [Extlib.PathGen.PathType]
Map a path through a function that operates on separate components.
- map2 [Stream]
map2 f streama streamb applies f in turn to elements of corresponding
positions from streama and streamb.
- map2 [Lazy_list]
Operations on two lists
- map2 [Lazy_list.Labels]
- map2 [List]
List.map2 f [a1; ...; an] [b1; ...; bn] is
[f a1 b1; ...; f an bn].
- map2 [List.Labels]
- map_default [Option]
map_default f x (Some v) returns f v and map_default f x None
returns x.
- map_default [Option.Labels]
- map_ext [Future.PathGen.PathType]
- map_ext [Extlib.PathGen.PathType]
- map_file [Big_array.Genarray]
Memory mapping of a file as a big array.
- map_file [Big_array.Array1]
Memory mapping of a file as a one-dimensional big array.
- map_file [Big_array.Array2]
Memory mapping of a file as a two-dimensional big array.
- map_file [Big_array.Array3]
Memory mapping of a file as a three-dimensional big array.
- map_list [Ref_list]
Apply a function to all elements
and return the list constructed with
the function returned values
- map_name [Future.PathGen.PathType]
- map_name [Extlib.PathGen.PathType]
- mapi [Array]
Same as Array.map, but the
function is applied to the index of the element as first argument,
and the element itself as second argument.
- mapi [Array.Cap]
Same as Array.map, but the
function is applied to the index of the element as first argument,
and the element itself as second argument.
- mapi [Array.Cap.Labels]
- mapi [Array.Labels]
- mapi [Big_array.Genarray]
Same as Big_array.Genarray.map, but the
function is applied to the index of the coordinates as the first
argument, and the element itself as the second argument.
- mapi [Big_array.Array1]
Same as Big_array.Array1.map, but the
function is applied to the index of the element as the first argument,
and the element itself as the second argument.
- mapi [Dyn_array]
mapi f darr applies the function f to every element of darr
and creates a dynamic array from the results - similar to List.mapi or
Array.mapi.
- mapi [Enum]
mapi is similar to map except that f is passed one extra argument
which is the index of the element in the enumeration, starting from 0.
- mapi [Enum.Labels]
- mapi [Vect]
Same as Vect.map, but the
function is applied to the index of the element as first argument,
and the element itself as second argument.
- mapi [Vect.Make]
Same as map, but the
function is applied to the index of the element as first argument,
and the element itself as second argument.
- mapi [Lazy_list]
Lazy map, with indices
- mapi [Lazy_list.Labels]
- mapi [List]
mapi f l will build the list containing
(f 0 a0);(f 1 a1) ... (f n an) where a0..an are the elements of
the list l.
- mapi [List.Labels]
- mapi [Map.S]
Same as Map.S.map, but the function receives as arguments both the
key and the associated value for each binding of the map.
- mapi [Extlib.ExtMap.Map.S.Labels]
- mapi [Extlib.ExtMap.Map.S]
Same as Map.S.map, but the function receives as arguments both the
key and the associated value for each binding of the map.
- mapi [Map.S.Labels]
- mapi [Multi_pmap]
Same as map, but the function receives as arguments both the
key and the associated value for each binding of the map.
- mapi [PMap]
Same as map, but the function receives as arguments both the
key and the associated value for each binding of the map.
- mapij [Big_array.Array2]
Same as Big_array.Array2.map, but the
function is applied to the index of the element as the first two
arguments, and the element itself as the third argument.
- mapijk [Big_array.Array3]
Same as Big_array.Array3.map, but the
function is applied to the index of the element as the first three
arguments, and the element itself as the fourth argument.
- marshal [Obj]
- mat_of_sexp [SExpr]
mat_of_sexp sexp same as Conv.float64_mat_of_sexp.
- match_beginning [Str]
- match_end [Str]
match_end() returns the position of the character following the
last character of the substring that was matched by string_match,
search_forward or search_backward.
- matched_group [Str]
- matched_string [Str]
- max [Standard]
Return the greater of the two arguments.
- max [Array]
max a returns the largest value in a as judged by
Pervasives.compare
- max [Seq]
max s returns the largest value in s as judged by
Pervasives.compare
- max [Seq.Exceptionless]
- max [List]
max l returns the largest value in l as judged by
Pervasives.compare
- max_array_length [Shell]
Maximum length of a normal array.
- max_array_length [Batteries_config]
- max_big_int [Big_int]
Return the greater of its two arguments.
- max_elt [Set.S]
Same as Set.S.min_elt, but returns the largest element of the
given set.
- max_elt [Extlib.ExtSet.Set.S.Exceptionless]
- max_elt [Extlib.ExtSet.Set.S]
Same as Set.S.min_elt, but returns the largest element of the
given set.
- max_elt [Set.S.Exceptionless]
- max_int [Standard]
The greatest representable integer.
- max_int [Int32]
The greatest representable 32-bit integer, 231 - 1.
- max_int [Int64]
The greatest representable 64-bit integer, 263 - 1.
- max_int [Native_int]
The greatest representable native integer,
either 231 - 1 on a 32-bit platform,
or 263 - 1 on a 64-bit platform.
- max_length [Vect]
Maximum length of the vect.
- max_length [Vect.Make]
Maximum length of the vect.
- max_length [Rope]
Maximum length of the rope (number of UTF-8 characters).
- max_num [Bool]
- max_num [Numeric.Bounded]
- max_num [Float]
- max_num [Int]
The smallest representable integer, -230 or 262.
- max_num [Int32]
- max_num [Native_int]
- max_num [Num]
- max_num [Safe_float]
- max_num [Safe_int]
The smallest representable integer, -230 or 262.
- max_string_length [Shell]
Maximum length of a string.
- max_string_length [Batteries_config]
- may [Option]
may f (Some x) calls f x and may f None does nothing.
- may [Option.Labels]
- maybe [Future.Parser_co]
Accept an optional argument.
- maybe_printer [Option]
- mem [Array]
mem m a is true if and only if m is equal to an element of a.
- mem [Array.Cap]
mem m a is true if and only if m is equal to an element of a.
- mem [Seq]
mem a l is true if and only if a is equal to an element of
l.
- mem [Hashtbl.S]
- mem [Hashtbl]
Hashtbl.mem tbl x checks if x is bound in tbl.
- mem [Extlib.ExtHashtbl.Hashtbl.S]
- mem [Hashtbl.Cap]
Hashtbl.mem tbl x checks if x is bound in tbl.
- mem [Vect]
mem m a is true if and only if m is equal to an element of a.
- mem [Lazy_list]
Finding
- mem [List]
mem a l is true if and only if a is equal
to an element of l.
- mem [Map.S]
mem x m returns true if m contains a binding for x,
and false otherwise.
- mem [Extlib.ExtMap.Map.S]
mem x m returns true if m contains a binding for x,
and false otherwise.
- mem [Multi_pmap]
mem x m returns true if m contains at least a binding for x,
and false otherwise.
- mem [PMap]
mem x m returns true if m contains a binding for x,
and false otherwise.
- mem [PSet]
mem x s tests whether x belongs to the set s.
- mem [Set.S]
mem x s tests whether x belongs to the set s.
- mem [Extlib.ExtSet.Set.S]
mem x s tests whether x belongs to the set s.
- mem [Weak.S]
mem t x returns true if there is at least one instance
of x in t, false otherwise.
- mem [Batlib_Baselib_Weak.S]
mem t x returns true if there is at least one instance
of x in t, false otherwise.
- mem_assoc [Lazy_list]
As Lazy_list.assoc but simply returns true if a binding exists, false
otherwise.
- mem_assoc [List]
As List.assoc but simply returns true if a binding exists, false
otherwise.
- mem_assq [Lazy_list]
- mem_assq [List]
- memq [Array]
Same as Array.mem but uses physical equality instead of
structural equality to compare array elements.
- memq [Array.Cap]
Same as Array.mem but uses physical equality instead of
structural equality to compare array elements.
- memq [Vect]
Same as Array.mem but uses physical equality instead of
structural equality to compare array elements.
- memq [Lazy_list]
As mem, but with physical equality
- memq [List]
Same as List.mem, but uses physical equality instead of structural
equality to compare list elements.
- merge [Enum]
merge test (a, b) merge the elements from a and b into a single
enumeration.
- merge [Stream]
merge test (streama, streamb) merge the elements from streama and
streamb into a single stream.
- merge [List]
Merge two lists:
Assuming that l1 and l2 are sorted according to the
comparison function cmp, merge cmp l1 l2 will return a
sorted list containting all the elements of l1 and l2.
- merge [List.Labels]
- merge [Weak.S]
merge t x returns an instance of x found in t if any,
or else adds x to t and return x.
- merge [Batlib_Baselib_Weak.S]
merge t x returns an instance of x found in t if any,
or else adds x to t and return x.
- meta_directory [Packages]
Get the META installation directory for packages.
- min [Standard]
Return the smaller of the two arguments.
- min [Array]
min a returns the smallest value in a as judged by
Pervasives.compare
- min [Seq]
min s returns the smallest value in s as judged by
Pervasives.compare
- min [Seq.Exceptionless]
- min [List]
min l returns the smallest value in l as judged by
Pervasives.compare
- min_big_int [Big_int]
Return the smaller of its two arguments.
- min_elt [Set.S]
Return the smallest element of the given set
(with respect to the Ord.compare ordering).
- min_elt [Extlib.ExtSet.Set.S.Exceptionless]
- min_elt [Extlib.ExtSet.Set.S]
Return the smallest element of the given set
(with respect to the Ord.compare ordering).
- min_elt [Set.S.Exceptionless]
- min_int [Standard]
The smallest representable integer.
- min_int [Int32]
The smallest representable 32-bit integer, -231.
- min_int [Int64]
The smallest representable 64-bit integer, -263.
- min_int [Native_int]
The greatest representable native integer,
either -231 on a 32-bit platform,
or -263 on a 64-bit platform.
- min_num [Bool]
- min_num [Numeric.Bounded]
- min_num [Float]
- min_num [Int]
The greatest representable integer, which is either 230-1 or 262-1.
- min_num [Int32]
- min_num [Native_int]
- min_num [Num]
- min_num [Safe_float]
- min_num [Safe_int]
The greatest representable integer, which is either 230-1 or 262-1.
- minor [Gc]
Trigger a minor collection.
- minus_one [Int]
The integer -1.
- minus_one [Int32]
The 32-bit integer -1.
- minus_one [Int64]
The 64-bit integer -1.
- minus_one [Native_int]
The native integer -1.
- minus_one [Safe_int]
The integer -1.
- mk_mail_date [Date]
Convert the time (seconds since the epoch) to a date string that
conforms to RFC 1123 (which updates RFC 822).
- mk_usenet_date [Date]
Convert the time (seconds since the epoch) to a date string that
conforms to RFC 1036 (which obsoletes RFC 850).
- mkdir [Unix]
Create a directory with the given permissions.
- mkfifo [Unix]
Create a named pipe with the given permissions.
- mktime [Unix]
Convert a date and time, specified by the tm argument, into
a time in seconds, as returned by Unix.time.
- mod_float [Standard]
mod_float a b returns the remainder of a with respect to
b.
- modf [Standard]
modf f returns the pair of the fractional and integral
part of f.
- modf [Float]
modf f returns the pair of the fractional and integral
part of f.
- modf [Safe_float]
modf f returns the pair of the fractional and integral
part of f.
- modulo [Bool]
- modulo [Numeric.Numeric]
- modulo [Big_int]
- modulo [Complex]
- modulo [Float]
- modulo [Int]
modulo a b computes the remainder of the integer
division of a by b.
- modulo [Int32]
- modulo [Native_int]
- modulo [Num]
- modulo [Safe_float]
- modulo [Safe_int]
modulo a b computes the remainder of the integer
division of a by b.
- 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 [UTF8.Byte]
- mul [Bool]
- mul [Numeric.Numeric]
- mul [Big_int]
- mul [Complex]
Multiplication
- mul [Float]
- mul [Int]
Multiplication.
- mul [Int32]
Multiplication.
- mul [Int64]
Multiplication.
- mul [Native_int]
Multiplication.
- mul [Num]
- mul [Safe_float]
- mul [Safe_int]
Multiplication.
- multiline_comment [Future.Genlex.Languages.Make]
- must [Future.Parser_co]
Prevent backtracking.
|
N |
- name [Global]
Retrieve the name of a global.
- name [Future.PathGen.PathType]
Returns name of the object the pathname points to, i.e.
- name [Extlib.PathGen.PathType]
Returns name of the object the pathname points to, i.e.
- name_core [Future.PathGen.PathType]
Returns part of the name to the left of rightmost dot.
- name_core [Extlib.PathGen.PathType]
Returns part of the name to the left of rightmost dot.
- name_of_encoding [Char_encodings]
Return the name of the encoding.
- name_of_input [Scanf.Scanning]
Scanning.file_name_of_input ib returns the name of the character source
for the scanning buffer ib.
- name_of_level [Future.Logger]
name_of_level level returns the name of the specified level.
- nan [Standard]
A special floating-point value denoting the result of an
undefined operation such as 0.0 /. 0.0.
- nan [Float]
A special floating-point value denoting the result of an
undefined operation such as 0.0 /. 0.0.
- nan [Safe_float]
A special floating-point value denoting the result of an
undefined operation such as 0.0 /. 0.0.
- narrow [Oo.Internal]
- nat_of_num [Num]
Coercions between numerical types
- nat_of_sexp [SExpr]
nat_of_sexp sexp converts S-expression sexp to a value
of type Nat.nat.
- nativeint [Big_array]
- nativeint [Random]
Random.nativeint bound returns a random integer between 0 (inclusive)
and bound (exclusive).
- nativeint [Random.State]
- nativeint_of_sexp [SExpr]
nativeint_of_sexp sexp converts S-expression sexp to a value
of type nativeint.
- neg [Bool]
- neg [Numeric.Numeric]
- neg [Big_int]
- neg [Complex]
Unary negation.
- neg [Float]
- neg [Int]
Unary negation.
- neg [Int32]
Unary negation.
- neg [Int64]
Unary negation.
- neg [Native_int]
Unary negation.
- neg [Num]
- neg [Safe_float]
- neg [Safe_int]
Unary negation.
- neg_infinity [Standard]
Negative infinity.
- neg_infinity [Float]
Negative infinity.
- neg_infinity [Safe_float]
Negative infinity.
- nested_comments [Future.Genlex.Languages.Definition]
- nested_comments [Extlib.ExtGenlex.Genlex.Languages.Definition]
- new_block [Obj]
- new_channel [Event]
Return a new channel.
- new_channel [Threads.Event]
Return a new channel.
- new_line [Lexing]
Update the lex_curr_p field of the lexbuf to reflect the start
of a new line.
- new_method [Oo.Internal]
- new_methods_variables [Oo.Internal]
- new_variable [Oo.Internal]
- newline [Future.Char_parser]
Recognizes a newline
- newline [Future.UChar_parser]
Recognizes a newline
- next [Dllist]
Given a node, get the next element in the list after the node.
- next [Stream]
Return the first element of the stream and remove it from the
stream.
- next [Lazy_list]
Common functions
- next [UTF8]
next s i
returns the position of the head of the Unicode character
located immediately after i.
- next [UTF8.Byte]
- nice [Unix]
Change the process priority.
- nil [Seq]
nil = fun () -> Nil
- nil [Lazy_list]
Access
- no_scan_tag [Obj]
- node_t_of_sexp [Lazy_list]
- nolock [Concurrency]
A lock which does nothing.
- none_of [Future.Char_parser]
Accept any value not in a list
As ParserCo.none_of, just with improved error message.
- none_of [Future.UChar_parser]
Accept any value not in a list
As ParserCo.none_of, just with improved error message.
- none_of [Future.Parser_co]
Accept any value not in a list
Faster and more convenient than combining satisfy and either.
- norm [Complex]
Norm: given x + i.y, returns sqrt(x^2 + y^2).
- norm2 [Complex]
Norm squared: given x + i.y, returns x^2 + y^2.
- normalize [Future.PathGen.PathType]
Consumes single dots and applies double dots where possible, e.g.:
- normalize [Extlib.PathGen.PathType]
Consumes single dots and applies double dots where possible, e.g.:
- not [Standard]
The boolean negation.
- not [Bool]
The boolean negation.
- not_char [Future.Char_parser]
Accept any value not a given char
As none_of.
- not_char [Future.UChar_parser]
Accept any value not a given char
As none_of.
- now [Date]
now () returns the current date, as expressed in the local zone.
- npeek [Stream]
npeek n returns the list of the n first elements of
the stream, or all its remaining elements if less than n
elements are available.
- npop [Ref_list]
Removes and returns the n first elements or
raises Empty_list if the ref list does not
contain enough elements
- nread [IO]
nread i n reads a string of size up to n from an input.
- nsplit [Rope]
nsplit s sep splits the rope s into a list of ropes
which are separated by sep.
- nsplit [String]
nsplit s sep splits the string s into a list of strings
which are separated by sep.
- nsplit [String.Cap]
nsplit s sep splits the string s into a list of strings
which are separated by sep.
- nth [Lazy_list]
Obsolete.
- nth [List]
Obsolete.
- nth [Buffer]
get the n-th character of the buffer.
- nth_dim [Big_array.Genarray]
Genarray.nth_dim a n returns the n-th dimension of the
big array a.
- null_formatter [Future.Logger]
null_formatter is a formatter that does not output any
events, but simply discards them.
- num_digits_big_int [Big_int]
Return the number of machine words used to store the
given big integer.
- num_dims [Big_array.Genarray]
Return the number of dimensions of the given big array.
- num_of_big_int [Num]
- num_of_nat [Num]
- num_of_ratio [Num]
- num_of_sexp [SExpr]
num_of_sexp sexp converts S-expression sexp to a value
of type Nat.num.
- number [Future.Genlex.Languages.Make]
Parse either an integer or a floating-point number.
- numeric_compare [String]
Compare two strings, sorting "abc32def" before "abc210abc"
- nwrite [IO]
Write a string to an output.
|
O |
- obj [Obj]
- object_tag [Obj]
- ocaml [Compilers]
Invoke the ocaml interpreter, to execute files without a compilation phase.
- ocaml_ldconf [Packages]
Get the file name of ld.conf
- ocaml_stdlib [Packages]
Get the directory of the standard library
- ocaml_version [Shell]
ocaml_version is the version of Objective Caml.
- ocamlc [Compilers]
Invoke the ocamlc compiler, to produce bytecode modules and executables.
- ocamlopt [Compilers]
Invoke the ocamlopt compiler, to produce native optimized modules and executables.
- of_array [Array.Cap]
Adopt a regular array as a capability array, allowing
to decrease capabilities if necessary.
- of_array [Big_array.Array1]
Build a one-dimensional big array initialized from the
given array.
- of_array [Big_array.Array2]
Build a two-dimensional big array initialized from the
given array of arrays.
- of_array [Big_array.Array3]
Build a three-dimensional big array initialized from the
given array of arrays of arrays.
- of_array [Dyn_array]
of_array arr returns an array with the elements of arr in it
in order.
- of_array [Vect]
of_array s returns a vect corresponding to the array s.
- of_array [Lazy_list]
Eager conversion from array
- of_backwards [Array]
Build an array from an enumeration, going into reverse order.
- of_backwards [Array.Cap]
Build an array from an enumeration, from end to start.
- of_backwards [Ref_list]
Creates a ref list from an enumeration, going from last to first
- of_backwards [Vect.RANDOMACCESS]
- of_backwards [Vect]
Build a vector from an enumeration, from last to first.
- of_backwards [List]
Build a list from an enumeration.
- of_backwards [UTF8]
- of_backwards [Rope]
Build a rope from an enumeration, starting with last character, ending with first.
- of_backwards [String]
Build a string from an enumeration, starting with last character, ending with first.
- of_backwards [String.Cap]
Build a string from an enumeration, starting with last character, ending with first.
- of_bulk_enum [Rope]
Creates a rope from an enumeration of UTF-8 encoded strings.
- of_char [UTF8]
- of_char [Rope]
of_char c returns a rope containing exactly Latin-1 character c.
- of_char [UChar]
of_char c returns the Unicode character of the Latin-1 character c
- of_char [String]
Returns a string containing one given character.
- of_char [String.Cap]
Returns a string containing one given character.
- of_char_idx [UTF8.Byte]
of_char_idx s n returns the position of the n-th Unicode
character.
- of_container [Vect.Make]
of_array s returns a vect corresponding to the container s.
- of_digit [Char]
Return the character representing a given digit.
- of_digit [UChar]
Return the character representing a given digit.
- of_enum [Array]
Build an array from an enumeration.
- of_enum [Array.Cap]
Build an array from an enumeration.
- of_enum [Dllist]
Create a dllist from an enum.
- of_enum [Dyn_array]
of_enum e returns an array that holds, in order, the elements of e.
- of_enum [Enum.Enumerable]
Build a data structure from an enumeration
- of_enum [Enum]
identity : added for consistency with the other data structures
- of_enum [Hashtbl.S]
- of_enum [Hashtbl]
Create a hashtable from a (key,value) enumeration.
- of_enum [Extlib.ExtHashtbl.Hashtbl.S]
- of_enum [Hashtbl.Cap]
Create a hashtable from a (key,value) enumeration.
- of_enum [Ref_list]
Creates a ref list from an enumeration
- of_enum [Queue]
of_enum e returns a new queue containing all the elements of e.
- of_enum [Stack]
of_enum e returns a new stack containing all the elements of e.
- of_enum [Stream]
Convert a stream to an enumeration.
- of_enum [Vect.RANDOMACCESS]
- of_enum [Vect]
Build a vector from an enumeration.
- of_enum [Lazy_list]
Lazy conversion from enum.
- of_enum [List]
Build a list from an enumeration.
- of_enum [Map.S]
Create a map from a (key, value) enumeration.
- of_enum [Extlib.ExtMap.Map.S]
Create a map from a (key, value) enumeration.
- of_enum [Multi_pmap]
creates a map from an enumeration, using the specified function
for key comparison or compare by default.
- of_enum [Option]
of_enum e consumes the first element of e, if it exists, and
returns Some e.
- of_enum [PMap]
creates a map from an enumeration, using the specified function
for key comparison or compare by default.
- of_enum [PSet]
- of_enum [Set.S]
- of_enum [Extlib.ExtSet.Set.S]
- of_enum [Buffer]
Creates a buffer from a character enumeration.
- of_enum [UTF8]
- of_enum [Rope]
Creates a rope from a character enumeration.
- of_enum [String]
Creates a string from a character enumeration.
- of_enum [String.Cap]
Creates a string from a character enumeration.
- of_enum [Future.Parser_co.Source]
- of_float [Bool]
- of_float [Numeric.Numeric]
- of_float [Float]
- of_float [Int]
Convert the given floating-point number to integer integer,
discarding the fractional part (truncate towards 0).
- of_float [Int32]
Convert the given floating-point number to a 32-bit integer,
discarding the fractional part (truncate towards 0).
- of_float [Int64]
Convert the given floating-point number to a 64-bit integer,
discarding the fractional part (truncate towards 0).
- of_float [Native_int]
Convert the given floating-point number to a native integer,
discarding the fractional part (truncate towards 0).
- of_float [Num]
- of_float [Safe_float]
- of_float [Safe_int]
Convert the given floating-point number to integer integer,
discarding the fractional part (truncate towards 0).
- of_float [Rope]
Returns the rope representation of a float.
- of_float [String]
Returns the string representation of an float.
- of_float [String.Cap]
Returns the string representation of an float.
- of_fun [Stream]
Stream.from f returns a stream built from the function f.
- of_input [Stream]
Convert an input to a stream.
- of_int [Bool]
- of_int [Numeric.Numeric]
- of_int [Big_int]
- of_int [Complex]
- of_int [Float]
- of_int [Int]
- of_int [Int32]
Convert the given integer (type int) to a 32-bit integer
(type int32).
- of_int [Int64]
Convert the given integer (type int) to a 64-bit integer
(type int64).
- of_int [Native_int]
Convert the given integer (type int) to a native integer
(type nativeint).
- of_int [Num]
- of_int [Safe_float]
- of_int [Safe_int]
- of_int [Rope]
Returns the rope representation of an int.
- of_int [UChar]
Alias of chr_of_uint
- of_int [String]
Returns the string representation of an int.
- of_int [String.Cap]
Returns the string representation of an int.
- of_int32 [Int64]
Convert the given 32-bit integer (type int32)
to a 64-bit integer (type int64).
- of_int32 [Native_int]
Convert the given 32-bit integer (type int32)
to a native integer.
- of_int_unsafe [UTF8.Byte]
- of_latin1 [Rope]
Constructs a unicode rope from a latin-1 string.
- of_list [Array]
Array.of_list l returns a fresh array containing the elements
of l.
- of_list [Array.Cap]
Array.of_list l returns a fresh array containing the elements
of l.
- of_list [Dllist]
Converts from a normal list to a Dllist and returns the first node.
- of_list [Dyn_array]
of_list lst returns a dynamic array with the elements of lst in
it in order.
- of_list [Ref_list]
Creates a ref list from a list - O(1)
- of_list [Stream]
Return the stream holding the elements of the list in the same
order.
- of_list [Vect]
- of_list [Lazy_list]
Lazy conversion from lists
- of_list [String]
Converts a list of characters to a string.
- of_list [String.Cap]
Converts a list of characters to a string.
- of_list [Future.Genlex]
Create a lexer from a list of keywords
- of_nativeint [Int64]
Convert the given native integer (type nativeint)
to a 64-bit integer (type int64).
- of_object [Enum]
of_object e returns a representation of an object as an enumeration
- of_option [Future.Result]
Convert an option to a result
- of_sexp_error [SExpr]
of_sexp_error reason sexp raises exception Of_sexp_error
(reason, sexp).
- of_stream [Lazy_list]
Lazy conversion from stream.
- of_string [Stream]
Convert a string to a stream.
- of_string [Unit]
Convert the given string to a unit.
- of_string [Bool]
Convert the given string to a boolean.
- of_string [Numeric.Numeric]
- of_string [Big_int]
- of_string [Complex]
- of_string [Float]
- of_string [Int]
Convert the given string to an integer
The string is read in decimal (by default) or in hexadecimal,
octal or binary if the string begins with 0x, 0o or 0b
respectively.
- of_string [Int32]
Convert the given string to a 32-bit integer.
- of_string [Int64]
Convert the given string to a 64-bit integer.
- of_string [Native_int]
Convert the given string to a native integer.
- of_string [Num]
- of_string [Safe_float]
- of_string [Safe_int]
Convert the given string to an integer
The string is read in decimal (by default) or in hexadecimal,
octal or binary if the string begins with 0x, 0o or 0b
respectively.
- of_string [UTF8]
Adopt a string.
- of_string [Rope]
of_string s returns a rope corresponding to the UTF-8 encoded string s.
- of_string [String.Cap]
Adopt a regular string.
- of_string [Future.PathGen.PathType]
Parse path in a given string.
- of_string [Extlib.PathGen.PathType]
Parse path in a given string.
- of_string__of__of_sexp [SExpr]
of_string__of__of_sexp conv str converts the S-expression str
represented as a string to an OCaml-value by using conversion function
conv.
- of_table [Hashtbl.Cap]
Adopt a regular hashtable as a capability hashtble, allowing
to decrease capabilities if necessary.
- of_uchar [Rope]
of_uchar c returns a rope containing exactly character c.
- of_ustring [Rope]
of_string s returns a rope corresponding to the string s.
- on_output [Stream]
Convert an output to a stream.
- one [Bool]
- one [Numeric.Numeric]
- one [Big_int]
- one [Complex]
The complex number 1.
- one [Float]
Floating number one.
- one [Int]
The integer 1.
- one [Int32]
The 32-bit integer 1.
- one [Int64]
The 64-bit integer 1.
- one [Native_int]
The native integer 1.
- one [Num]
- one [Safe_float]
Floating number one.
- one [Safe_int]
The integer 1.
- one_of [Future.Parser_co]
Accept one of several values.
- one_plus [Future.Parser_co]
Accept a (non-empty) list of expressions
- op_letter [Future.Genlex.Languages.Definition]
- op_letter [Extlib.ExtGenlex.Genlex.Languages.Definition]
- op_start [Future.Genlex.Languages.Definition]
- op_start [Extlib.ExtGenlex.Genlex.Languages.Definition]
- open_box [Format]
open_box d opens a new pretty-printing box
with offset d.
- open_connection [Unix]
Connect to a server at the given address.
- open_hbox [Format]
open_hbox () opens a new pretty-printing box.
- open_hovbox [Format]
open_hovbox d opens a new pretty-printing box
with offset d.
- open_hvbox [Format]
open_hvbox d opens a new pretty-printing box
with offset d.
- open_in [Standard]
Open the named file for reading.
- open_in [Codec.Decompressor]
Shorthand: directly open a compressed file to read from it
See File.open_in
- open_in [GZip]
Shorthand: directly open a compressed file to read from it See
File.open_in
- open_in [File]
open_in file_name opens the file named file_name for reading.
- open_in_bin [Standard]
Same as Standard.open_in, but the file is opened in binary mode,
so that no translation takes place during reads.
- open_in_gen [Standard]
open_in mode perm filename opens the named file for reading,
as described above.
- open_out [Standard]
Open the named file for writing, and return a new output channel
on that file.
- open_out [Codec.Compressor]
Shorthand: directly open a compressed file to write to it.
- open_out [GZip]
Shorthand: directly open a compressed file to write to it.
- open_out [File]
open_out file_name opens the file named file_name for writing.
- open_out_bin [Standard]
Same as Standard.open_out, but the file is opened in binary mode, so
that no translation takes place during writes.
- open_out_gen [Standard]
open_out_gen mode perm filename opens the named file for writing,
as described above.
- open_process [Unix]
Same as Unix.open_process_out, but redirects both the
standard input and standard output of the command to pipes
connected to the two returned input/ output.
- open_process_full [Unix]
Similar to Unix.open_process, but the second argument
specifies the environment passed to the command.
- open_process_in [Unix]
High-level pipe and process management.
- open_process_out [Unix]
- open_tag [Format]
open_tag t opens the tag named t; the print_open_tag
function of the formatter is called with t as argument;
the tag marker mark_open_tag t will be flushed into the output
device of the formatter.
- open_tbox [Format]
Opens a tabulation box.
- open_temp_file [Path]
Same as Path.temp_file, but returns both the name of a fresh
temporary file, and an output channel opened (atomically) on
this file.
- open_temporary_out [File]
open_temporary_out () opens a new temporary file for writing.
- open_vbox [Format]
open_vbox d opens a new pretty-printing box
with offset d.
- opendir [Unix]
Open a descriptor on a directory
- openfile [Unix]
Open the named file with the given flags.
- operations [Bool]
- operations [Numeric.Numeric]
- operations [Big_int]
- operations [Complex]
- operations [Float]
- operations [Int]
- operations [Native_int]
- operations [Num]
- operations [Safe_float]
- operations [Safe_int]
- opt [Global]
Return None if the global is undefined, else Some v where v is the
current global value contents.
- opt [Opt_parse.Opt]
Get the value of an option as an optional value.
- option_of_sexp [SExpr]
option_of_sexp conv sexp converts S-expression sexp to a value
of type 'a option using conversion function conv, which converts
an S-expression to a value of type 'a.
- os_type [Shell]
Operating system currently executing the Caml program.
- other_exec [File]
Give the permission to execute the file to the rest
of the world.
- other_read [File]
Give the permission to read the file to the rest
of the world.
- other_write [File]
Give the permission to modify the file to the rest
of the world.
- out_channel_of_descr [Unix]
- out_of_heap_tag [Obj]
- out_of_range [UTF8]
out_of_range s i
tests whether i is a position inside of s.
- out_of_range [UTF8.Byte]
- output [Standard]
output oc buf pos len writes len characters from string buf,
starting at offset pos, to the given output channel oc.
- output [IO]
output o s p l writes up to l characters from string s, starting at
offset p.
- output [Marshal]
output out v writes the representation of v on chan.
- output [SExpr]
as output_mach.
- output [MD5]
Write a digest on the given output.
- output_binary_int [Standard]
Write one integer in binary format (4 bytes, big-endian)
on the given output channel.
- output_bits [IO]
Write bits to an output
- output_buffer [IO]
Create an output that will append its results at the end of a buffer
in an efficient way.
- output_buffer [Buffer]
output_buffer oc b writes the current contents of buffer b
on the output channel oc.
- output_byte [Standard]
Write one 8-bit integer (as the single character with that code)
on the given output channel.
- output_channel [IO]
Create an output that will write into a channel.
- output_char [Standard]
Write the character on the given output channel.
- output_enum [IO]
Create an output that will write into an enum.
- output_hum [SExpr]
output_hum oc sexp outputs S-expression sexp to output channel
oc in human readable form.
- output_hum_indent [SExpr]
output_hum_indent indent oc sexp outputs S-expression sexp
to output channel oc in human readable form using indentation level
indent.
- output_mach [SExpr]
output_mach oc sexp outputs S-expression sexp to output channel
oc in machine readable (i.e.
- output_of_acc_channel [Net_channels]
Create a Batteries System.IO.output channel from an output
Netchannel, enabling to access the value accumulated during output
from the resulting channel.
- output_of_channel [Net_channels]
Create a Batteries System.IO.output channel from an output
Netchannel.
- output_of_descr [Unix]
Create an output writing on the given descriptor.
- output_rope [Standard]
Write the rope on the given output channel.
- output_string [Standard]
Write the string on the given output channel.
- output_string [IO]
Create an output that will write into a string in an efficient way.
- output_value [Standard]
Write the representation of a structured value of any type
to a channel.
- over_max_boxes [Format]
Tests if the maximum number of boxes allowed have already been opened.
|
P |
- p [Future.PathGen.PathType]
- p [Extlib.PathGen.PathType]
- package_ancestors [Packages]
package_ancestors predlist pkg:
* Determines the direct ancestors of package pkg under the assumption
* that the predicates in predlist are true, i.e.
- package_deep_ancestors [Packages]
package_deep_ancestors predlist pkglist:
* determines the list of direct or indirect ancestors of the packages
* named in pkglist under the assumption that the predicates in predlist
* are true.
- package_directory [Packages]
Get the absolute path of the directory where the given package is
* stored.
- package_property [Packages]
package_property predlist pkg propname:
* Looks up the property propname of package pkg under the assumption
* that the predicates in predlist are true.
- pair_of_sexp [SExpr]
pair_of_sexp conv1 conv2 sexp converts S-expression sexp to a pair
of type 'a * 'b using conversion functions conv1 and conv2,
which convert S-expressions to values of type 'a and 'b
respectively.
- params [Oo.Internal]
- parent [Future.PathGen.PathType]
Returns parent path, i.e.
- parent [Extlib.PathGen.PathType]
Returns parent path, i.e.
- parent_dir_name [Path]
The conventional name for the parent of the current directory
(e.g.
- parse [Arg]
Arg.parse speclist anon_fun usage_msg parses the command line.
- parse [Opt_parse.OptParser]
Parse arguments as if the arguments args.(first),
args.(first+1), ..., args.(last) had been given on the
command line.
- parse [Date]
Parse a string and return a date/time record
- parse [Future.Char_parser]
Apply a parser to a string.
- parse [Future.UChar_parser]
Apply a parser to a Unicode Rope.
- parse_argv [Arg]
Arg.parse_argv ~current args speclist anon_fun usage_msg parses
the array args as if it were the command line.
- parse_argv [Opt_parse.OptParser]
Parse all the arguments in Sys.argv.
- parse_epoch [Date]
Parse a string and return the time (seconds since the epoch
- partition [Array]
partition p a returns a pair of arrays (a1, a2), where
a1 is the array of all the elements of a that
satisfy the predicate p, and a2 is the array of all the
elements of a that do not satisfy p.
- partition [Array.Cap]
partition p a returns a pair of arrays (a1, a2), where
a1 is the array of all the elements of a that
satisfy the predicate p, and a2 is the array of all the
elements of a that do not satisfy p.
- partition [Vect]
partition p a returns a pair of arrays (a1, a2), where
a1 is the array of all the elements of a that
satisfy the predicate p, and a2 is the array of all the
elements of a that do not satisfy p.
- partition [Vect.Make]
partition p a returns a pair of arrays (a1, a2), where
a1 is the array of all the elements of a that
satisfy the predicate p, and a2 is the array of all the
elements of a that do not satisfy p.
- partition [List]
partition p l returns a pair of lists (l1, l2), where
l1 is the list of all the elements of l that
satisfy the predicate p, and l2 is the list of all the
elements of l that do not satisfy p.
- partition [List.Labels]
- partition [Set.S]
partition p s returns a pair of sets (s1, s2), where
s1 is the set of all the elements of s that satisfy the
predicate p, and s2 is the set of all the elements of
s that do not satisfy p.
- partition [Extlib.ExtSet.Set.S.Labels]
- partition [Extlib.ExtSet.Set.S]
partition p s returns a pair of sets (s1, s2), where
s1 is the set of all the elements of s that satisfy the
predicate p, and s2 is the set of all the elements of
s that do not satisfy p.
- partition [Set.S.Labels]
- pass [Exceptions]
Printexc.pass fn x applies fn to x and returns the result.
- pause [Unix]
Wait until a non-ignored, non-blocked signal is delivered.
- peek [Standard]
peek e returns None if e is empty or Some x where x is
the next element of e.
- peek [Enum]
peek e returns None if e is empty or Some x where x is
the next element of e.
- peek [Queue]
peek q returns the first element in queue q, without removing
it from the queue, or raises Empty if the queue is empty.
- peek [Stream]
Return Some of "the first element" of the stream, or None if
the stream is empty.
- peek [Lazy_list]
peek l returns the first element of l, if it exists.
- perm [File]
Join permissions
- pi [Float]
The constant pi (3.14159...)
- pi [Safe_float]
The constant pi (3.14159...)
- pipe [IO]
Create a pipe between an input and an ouput.
- pipe [Unix]
Create a pipe.
- polar [Complex]
polar norm arg returns the complex having norm norm
and argument arg.
- poll [Event]
Non-blocking version of Threads.Event.sync: offer all the communication
possibilities specified in the event to the outside world,
and if one can take place immediately, perform it and return
Some r where r is the result value of that communication.
- poll [Threads.Event]
Non-blocking version of Threads.Event.sync: offer all the communication
possibilities specified in the event to the outside world,
and if one can take place immediately, perform it and return
Some r where r is the result value of that communication.
- pop [Ref_list]
Removes and returns the first element or
raises Empty_list if the ref list is empty
- pop [Queue]
pop is a synonym for take.
- pop [Stack]
pop s removes and returns the topmost element in stack s,
or raises Empty if the stack is empty.
- pos_in [IO]
Create an input that provide a count function of the number of bytes
read from it.
- pos_out [IO]
Create an output that provide a count function of the number of bytes
written through it.
- post [Ref]
Perform an operation on a reference and return the
previous value of that reference.
- post_decr [Ref]
Decrement an integer, return the old value.
- post_incr [Ref]
Increment an integer, return the old value.
- post_map [Future.Parser_co]
Maps
- pow [Bool]
- pow [Numeric.Numeric]
- pow [Big_int]
- pow [Complex]
Power function.
- pow [Float]
- pow [Int]
pow a b computes ab
- pow [Int32]
- pow [Native_int]
- pow [Num]
- pow [Safe_float]
- pow [Safe_int]
pow a b computes ab
- power_big_int_positive_big_int [Big_int]
Exponentiation functions.
- power_big_int_positive_int [Big_int]
- power_int_positive_big_int [Big_int]
- power_int_positive_int [Big_int]
- pp_close_box [Format]
- pp_close_tag [Format]
- pp_close_tbox [Format]
- pp_force_newline [Format]
- pp_get_all_formatter_output_functions [Format]
- pp_get_ellipsis_text [Format]
- pp_get_formatter_output_functions [Format]
- pp_get_formatter_tag_functions [Format]
These functions are the basic ones: usual functions
operating on the standard formatter are defined via partial
evaluation of these primitives.
- pp_get_margin [Format]
- pp_get_mark_tags [Format]
- pp_get_max_boxes [Format]
- pp_get_max_indent [Format]
- pp_get_print_tags [Format]
- pp_open_box [Format]
- pp_open_hbox [Format]
- pp_open_hovbox [Format]
- pp_open_hvbox [Format]
- pp_open_tag [Format]
- pp_open_tbox [Format]
- pp_open_vbox [Format]
- pp_over_max_boxes [Format]
- pp_print_as [Format]
- pp_print_bool [Format]
- pp_print_break [Format]
- pp_print_char [Format]
- pp_print_cut [Format]
- pp_print_float [Format]
- pp_print_flush [Format]
- pp_print_if_newline [Format]
- pp_print_int [Format]
- pp_print_newline [Format]
- pp_print_space [Format]
- pp_print_string [Format]
- pp_print_tab [Format]
- pp_print_tbreak [Format]
- pp_set_all_formatter_output_functions [Format]
- pp_set_ellipsis_text [Format]
- pp_set_formatter_out_channel [Format]
- pp_set_formatter_output [Format]
- pp_set_formatter_output_functions [Format]
- pp_set_formatter_tag_functions [Format]
- pp_set_margin [Format]
- pp_set_mark_tags [Format]
- pp_set_max_boxes [Format]
- pp_set_max_indent [Format]
- pp_set_print_tags [Format]
- pp_set_tab [Format]
- pp_set_tags [Format]
- pre [Ref]
Perform an operation on a reference and return the
new value of that reference.
- pre_decr [Ref]
Increment an integer, return the new value.
- pre_incr [Ref]
Increment an integer, return the new value.
- pred [Standard]
pred x is x-1.
- pred [Bool]
- pred [Numeric.Discrete]
- pred [Big_int]
- pred [Complex]
- pred [Float]
Substract 1. from a floating number.
- pred [Int]
Predecessor.
- pred [Int32]
Predecessor.
- pred [Int64]
Predecessor.
- pred [Native_int]
Predecessor.
- pred [Num]
- pred [Safe_float]
Substract 1. from a floating number.
- pred [Safe_int]
Predecessor.
- prefix_action [Enum]
prefix_action f e will behave as e but guarantees that f ()
will be invoked exactly once before the current first element of e
is read.
- prepend [Dllist]
prepend n a Creates a new node containing data a and inserts it into
the list before node n.
- prepend [Vect]
prepend c r returns a new vect with the c character at the
beginning in amortized O(1) time.
- prepend [Vect.Make]
prepend c r returns a new vect with the c character at the
beginning in amortized O(1) time.
- prepend_char [Rope]
prepend_char c r returns a new rope with the c character at the
beginning in amortized O(1) time.
- prerr_all [Standard]
Print the contents of an input to the error output.
- prerr_bool [Standard]
Print a boolean to stderr.
- prerr_char [Standard]
Print a character on standard error.
- prerr_endline [Standard]
Print a string, followed by a newline character on standard error
and flush standard error.
- prerr_float [Standard]
Print a floating-point number, in decimal, on standard error.
- prerr_guess [Standard]
Attempt to print the representation of a runtime value on the
error output.
- prerr_int [Standard]
Print an integer, in decimal, on standard error.
- prerr_newline [Standard]
Print a newline character on standard error, and flush
standard error.
- prerr_string [Standard]
Print a string on standard error.
- prev [Dllist]
Given a node, get the previous element in the list before the node.
- prev [UTF8]
prev s i
returns the position of the head of the Unicode character
located immediately before i.
- prev [UTF8.Byte]
- print [Standard]
Print and consume the contents of an enumeration.
- print [Exceptions]
Print an exception.
- print [Array]
Print the contents of an array
- print [Array.Cap]
Print the contents of an array
- print [Dllist]
- print [Dyn_array]
- print [Enum]
Print and consume the contents of an enumeration.
- print [Seq]
Print the contents of a sequence
- print [Hashtbl.S]
- print [Hashtbl]
- print [Extlib.ExtHashtbl.Hashtbl.S]
- print [Hashtbl.Cap]
- print [Queue]
- print [Ref]
- print [Stack]
- print [Vect]
- print [Vect.Make]
Printing
- print [Lazy_list]
- print [List]
Print the contents of a list
- print [Map.S]
- print [Extlib.ExtMap.Map.S]
- print [Multi_pmap]
- print [Option]
- print [PMap]
- print [PSet]
- print [Set.S]
- print [Extlib.ExtSet.Set.S]
- print [Unit]
Printing
- print [Bool]
Printing
- print [Bit_set]
- print [Big_int]
- print [Complex]
Printing
- print [Float]
Printing
- print [Int]
- print [Native_int]
- print [Num]
Printing
- print [Safe_float]
Printing
- print [Safe_int]
Printing
- print [Buffer]
- print [Char]
- print [UTF8]
Printing
- print [Rope]
- print [String]
Print a string.
- print [String.Cap]
Print a string.
- print [SExpr]
as output_hum
- print [Date]
Print a date with a default format.
- print_all [Standard]
Print the contents of an input to the standard output.
- print_as [Format]
print_as len str prints str in the
current box.
- print_bool [Standard]
Print a boolean on standard output.
- print_bool [Format]
Prints a boolean in the current box.
- print_break [Format]
Inserts a break hint in a pretty-printing box.
- print_char [Standard]
Print a character on standard output.
- print_char [Format]
Prints a character in the current box.
- print_cut [Format]
print_cut () is used to mark a good break position.
- print_endline [Standard]
Print a string, followed by a newline character, on
standard output and flush standard output.
- print_float [Standard]
Print a floating-point number, in decimal, on standard output.
- print_float [Format]
Prints a floating point number in the current box.
- print_flush [Format]
Flushes the pretty printer: all opened boxes are closed,
and all pending text is displayed.
- print_guess [Standard]
Attempt to print the representation of a runtime value on the
standard output.
- print_if_newline [Format]
Executes the next formatting command if the preceding line
has just been split.
- print_int [Standard]
Print an integer, in decimal, on standard output.
- print_int [Format]
Prints an integer in the current box.
- print_newline [Standard]
Print a newline character on standard output, and flush
standard output.
- print_newline [Format]
Equivalent to print_flush followed by a new line.
- print_quoted [String]
Print a string, with quotes.
- print_quoted [String.Cap]
Print a string, with quotes.
- print_space [Format]
print_space () is used to separate items (typically to print
a space between two words).
- print_stat [Gc]
Print the current values of the memory management counters (in
human-readable form) into the channel argument.
- print_string [Standard]
Print a string on standard output.
- print_string [Format]
print_string str prints str in the current box.
- print_tab [Format]
print_tab () is equivalent to print_tbreak (0,0).
- print_tbreak [Format]
Break hint in a tabulation box.
- print_tuple0 [Value_printer]
- print_tuple1 [Value_printer]
- print_tuple10 [Value_printer]
- print_tuple2 [Value_printer]
- print_tuple3 [Value_printer]
- print_tuple4 [Value_printer]
- print_tuple5 [Value_printer]
- print_tuple6 [Value_printer]
- print_tuple7 [Value_printer]
- print_tuple8 [Value_printer]
- print_tuple9 [Value_printer]
- printf [IO]
A fprintf-style unparser.
- printf [Format]
Same as fprintf above, but output on std_formatter.
- printf [Printf]
The usual printf function, prints to the standard output stdout, i.e.
- printf [Print]
printf fmt args formats the arguments in args as specified by fmt
and prints the result on the standard output IO.stdout, i.e.
- println [String]
Print a string, end the line.
- println [String.Cap]
Print a string, end the line.
- progress_in [IO]
progress_in inp f create an input that calls f ()
whenever some content is succesfully read from it.
- progress_out [IO]
progress_out out f create an output that calls f ()
whenever some content is succesfully written to it.
- promote [Dllist]
promote n Swaps n with next n.
- protect [Ref]
Assign a reference temporarily.
- public_method_label [Oo.Internal]
- push [Standard]
push e x will add x at the beginning of e.
- push [Enum]
push e x will add x at the beginning of e.
- push [Ref_list]
Adds an element at the head - O(1)
- push [Queue]
push is a synonym for add.
- push [Stack]
push x s adds the element x at the top of stack s.
- put [Bit_set]
put s v n sets the nth-bit in the bitset s to v.
- putenv [Unix]
Unix.putenv name value sets the value associated to a
variable in the process environment.
|
Q |
- quick_stat [Gc]
Same as stat except that live_words, live_blocks, free_words,
free_blocks, largest_free, and fragments are set to 0.
- quo [Num]
Additional operations
- quomod_big_int [Big_int]
Euclidean division of two big integers.
- quote [String]
Add quotes around a string and escape any quote appearing in that string.
- quote [String.Cap]
Add quotes around a string and escape any quote appearing in that string.
- quote [Str]
Str.quote s returns a regexp string that matches exactly
s and nothing else.
- quote [Path]
Return a quoted version of a file name, suitable for use as
one argument in a command line, escaping all meta-characters.
|
R |
- raise [Standard]
Raise the given exception value
- range [Enum]
Utilities
- range [Lazy_list]
Compute lazily a range of integers a ..
- range [Char]
- range [Future.Parser_co]
Accept any element from a given range.
- range_iter [Rope]
rangeiter f m n r applies f to all the characters whose
indices k satisfy m <= k < m + n.
- range_iteri [Rope]
As range_iter, but passes base + index of the character in the
subrope defined by next to arguments.
- rangeiter [Vect]
rangeiter f m n r applies f to all the elements whose
indices k satisfy m <= k < m + n.
- rangeiter [Vect.Make]
rangeiter f m n r applies f to all the elements whose
indices k satisfy m <= k < m + n.
- ratio_of_num [Num]
- ratio_of_sexp [SExpr]
ratio_of_sexp sexp converts S-expression sexp to a value
of type Nat.ratio.
- rchop [Rope]
Returns the same rope but without the last character.
- rchop [String]
Returns the same string but without the last character.
- rchop [String.Cap]
Returns the same string but without the last character.
- rcontains_from [UTF8]
- rcontains_from [Rope]
rcontains_from s stop c tests if character c
appears in the subrope of s starting from the beginning
of s to index stop.
- rcontains_from [String]
String.rcontains_from s stop c tests if character c
appears in the substring of s starting from the beginning
of s to index stop.
- rcontains_from [String.Cap]
String.rcontains_from s stop c tests if character c
appears in the substring of s starting from the beginning
of s to index stop.
- read [IO]
Read a single char from an input or raise No_more_input if
no input available.
- read [Unix]
read fd buff ofs len reads len characters from descriptor
fd, storing them in string buff, starting at position ofs
in string buff.
- read_all [IO]
read all the contents of the input until No_more_input is raised.
- read_bits [IO]
Read up to 31 bits, raise Bits_error if n < 0 or n > 31
- read_byte [IO]
Read an unsigned 8-bit integer.
- read_double [IO]
Read an IEEE double precision floating point value.
- read_double [IO.BigEndian]
Read an IEEE double precision floating point value.
- read_float [Standard]
Flush standard output, then read one line from standard input
and convert it to a floating-point number.
- read_float [IO]
Read an IEEE single precision floating point value.
- read_float [IO.BigEndian]
Read an IEEE single precision floating point value.
- read_i16 [IO]
Read a signed 16-bit word.
- read_i16 [IO.BigEndian]
Read a signed 16-bit word.
- read_i32 [IO]
Read a signed 32-bit integer.
- read_i32 [IO.BigEndian]
Read a signed 32-bit integer.
- read_i64 [IO]
Read a signed 64-bit integer as an OCaml int64.
- read_i64 [IO.BigEndian]
Read a signed 64-bit integer as an OCaml int64.
- read_int [Standard]
Flush standard output, then read one line from standard input
and convert it to an integer.
- read_line [Standard]
Flush standard output, then read characters from standard input
until a newline character is encountered.
- read_line [IO]
Read a LF or CRLF terminated string.
- read_old_option_format [SExpr]
read_old_option_format reference for the default option format
used to read option values.
- read_only [Array.Cap]
Drop to read-only permissions.
- read_only [Hashtbl.Cap]
Drop to read-only permissions.
- read_only [String.Cap]
Drop capabilities to read only.
- read_real_i32 [IO]
Read a signed 32-bit integer as an OCaml int32.
- read_real_i32 [IO.BigEndian]
Read a signed 32-bit integer as an OCaml int32.
- read_rope [IO]
Read up to n uchars from a UTF-8 encoded input
- read_signed_byte [IO]
Read an signed 8-bit integer.
- read_string [IO]
Read a null-terminated string.
- read_uall [IO]
Read the whole contents of a UTF-8 encoded input
- read_uchar [IO]
Read one UChar from a UTF-8 encoded input
- read_ui16 [IO]
Read an unsigned 16-bit word.
- read_ui16 [IO.BigEndian]
Read an unsigned 16-bit word.
- read_uline [IO]
Read a line of UTF-8
- readdir [Shell]
Return the names of all files present in the given directory.
- readdir [Unix]
Return the next entry in a directory.
- readlink [Unix]
Read the contents of a link.
- real_i32s_of [IO]
Read an enumeration of signed 32-bit integers as OCaml int32s.
- real_i32s_of [IO.BigEndian]
Read an enumeration of signed 32-bit integers as OCaml int32s.
- really_input [Standard]
really_input ic buf pos len reads len characters from channel ic,
storing them in string buf, starting at character number pos.
- really_input [IO]
really_input i s p l reads exactly l characters from the given input,
storing them in the string s, starting at position p.
- really_nread [IO]
really_nread i n reads a string of exactly n characters
from the input.
- really_output [IO]
really_output o s p l writes exactly l characters from string s onto
the the output, starting with the character at offset p.
- receive [Event]
receive ch returns the event consisting in receiving a value
from the channel ch.
- receive [Threads.Event]
receive ch returns the event consisting in receiving a value
from the channel ch.
- record_check_extra_fields [SExpr]
record_check_extra_fields checks for extra (= unknown) fields
in record S-expressions.
- recv [Unix]
Receive data from a connected socket.
- recvfrom [Unix]
Receive data from an unconnected socket.
- reduce [Standard]
Transformation loop on an enumeration, used to build a single value
from an enumeration.
- reduce [Array]
Array.reduce f a is fold_left f a.(0) a.(1 .. n-1).
- reduce [Enum]
A simplified version of fold, which uses the first element
of the enumeration as a default value.
- reduce [Seq]
reduce f (cons e s) is fold_left f e s.
- reduce [Seq.Exceptionless]
- reduce [List]
List.reduce f h::t is fold_left f h t.
- ref [Standard]
Return a fresh reference containing the given value.
- ref [Ref]
Return a fresh reference containing the given value.
- ref_of_sexp [SExpr]
ref_of_sexp conv sexp converts S-expression sexp to a value
of type 'a ref using conversion function conv, which converts
an S-expression to a value of type 'a.
- regexp [Str]
Compile a regular expression.
- regexp_case_fold [Str]
Same as regexp, but the compiled expression will match text
in a case-insensitive way: uppercase and lowercase letters will
be considered equivalent.
- regexp_string [Str]
Str.regexp_string s returns a regular expression
that matches exactly s and nothing else.
- regexp_string_case_fold [Str]
Str.regexp_string_case_fold is similar to Str.regexp_string,
but the regexp matches in a case-insensitive way.
- register [Callback]
Callback.register n v registers the value v under
the name n.
- register_exception [Callback]
Callback.register_exception n exn registers the
exception contained in the exception value exn
under the name n.
- register_formatter [Future.Logger]
register_formatter name formatter registers a named log
formatter.
- relative_to_any [Future.PathGen.PathType]
relative_to_any base sub returns relative path rel such that
normalize (base/:rel) = normalize sub, i.e.
- relative_to_any [Extlib.PathGen.PathType]
relative_to_any base sub returns relative path rel such that
normalize (base/:rel) = normalize sub, i.e.
- relative_to_parent [Future.PathGen.PathType]
relative_to_parent parent sub returns relative path rel such that
(normalize parent)/:rel = normalize sub.
- relative_to_parent [Extlib.PathGen.PathType]
relative_to_parent parent sub returns relative path rel such that
(normalize parent)/:rel = normalize sub.
- rem [Int]
Integer remainder.
- rem [Int32]
Integer remainder.
- rem [Int64]
Integer remainder.
- rem [Native_int]
Integer remainder.
- rem [Safe_int]
Integer remainder.
- remove [Dllist]
Remove node from the list no matter where it is.
- remove [Hashtbl.S]
- remove [Hashtbl]
Hashtbl.remove tbl x removes the current binding of x in tbl,
restoring the previous binding if it exists.
- remove [Extlib.ExtHashtbl.Hashtbl.S]
- remove [Hashtbl.Cap]
Hashtbl.remove tbl x removes the current binding of x in tbl,
restoring the previous binding if it exists.
- remove [Ref_list]
Remove an element from the ref list
raise Not_found if the element is not found
- remove [Vect]
remove m n r returns the vect resulting from deleting the
elements with indexes ranging from m to m + n - 1 (included)
from the original vect r.
- remove [Vect.Make]
remove m n r returns the vect resulting from deleting the
elements with indexes ranging from m to m + n - 1 (included)
from the original vect r.
- remove [Lazy_list]
remove l x returns the list l without the first element x found
or returns l if no element is equal to x.
- remove [List]
remove l x returns the list l without the first element x found
or returns l if no element is equal to x.
- remove [Map.S]
remove x m returns a map containing the same bindings as
m, except for x which is unbound in the returned map.
- remove [Extlib.ExtMap.Map.S]
remove x m returns a map containing the same bindings as
m, except for x which is unbound in the returned map.
- remove [Multi_pmap]
remove_all k d m returns a map containing the same bindings as
m, except for k which is not bound to d anymore in the returned
map.
- remove [PMap]
remove x m returns a map containing the same bindings as
m, except for x which is unbound in the returned map.
- remove [PSet]
remove x s returns a set containing all elements of s,
except x.
- remove [Set.S]
remove x s returns a set containing all elements of s,
except x.
- remove [Extlib.ExtSet.Set.S]
remove x s returns a set containing all elements of s,
except x.
- remove [Rope]
remove m n r returns the rope resulting from deleting the
characters with indexes ranging from m to m + n - 1 (included)
from the original rope r.
- remove [Weak.S]
remove t x removes from t one instance of x.
- remove [Batlib_Baselib_Weak.S]
remove t x removes from t one instance of x.
- remove [Shell]
Remove the given file name from the file system.
- remove_all [Hashtbl.S]
- remove_all [Hashtbl]
Remove all bindings for the given key
- remove_all [Extlib.ExtHashtbl.Hashtbl.S]
- remove_all [Hashtbl.Cap]
Remove all bindings for the given key
- remove_all [Ref_list]
Remove all elements equal to the specified
element from the ref list
- remove_all [Lazy_list]
remove_all l x is similar to remove but removes all elements that
are equal to x and not only the first one.
- remove_all [List]
remove_all l x is similar to remove but removes all elements that
are equal to x and not only the first one.
- remove_all [Multi_pmap]
remove_all x m returns a map containing the same bindings as
m, except for x which is unbound in the returned map.
- remove_all_such [Lazy_list]
remove_all l x is similar to remove but removes all elements that
are equal to x and not only the first one.
- remove_all_such [Lazy_list.Labels]
- remove_assoc [List]
remove_assoc a l returns the list of
pairs l without the first pair with key a, if any.
- remove_assq [List]
Same as List.remove_assoc, but uses physical equality instead
of structural equality to compare keys.
- remove_at [Ref_list.Index]
Remove the element at the specified index
raise Invalid_index if the index is outside 0 ; length-1
- remove_if [Ref_list]
Remove the first element matching the
specified predicate
raise Not_found if no element has been removed
- remove_if [Lazy_list]
remove_if cmp l is similar to remove, but with cmp used
instead of ( = ).
- remove_if [Lazy_list.Labels]
- remove_if [List]
remove_if cmp l is similar to remove, but with cmp used
instead of ( = ).
- remove_if [List.Labels]
- rename [Shell]
Rename a file.
- rename [Unix]
rename old new changes the name of a file from old to new.
- repeat [Enum]
repeat ~times:n x creates a enum sequence filled with n times of
x.
- repeat [String]
repeat s n returns s ^ s ^ ... ^ s
- repeat [String.Cap]
repeat s n returns s ^ s ^ ... ^ s
- replace [Hashtbl.S]
- replace [Hashtbl]
Hashtbl.replace tbl x y replaces the current binding of x
in tbl by a binding of x to y.
- replace [Hashtbl.Labels]
- replace [Extlib.ExtHashtbl.Hashtbl.S]
- replace [Extlib.ExtHashtbl.Hashtbl.S.Labels]
- replace [Hashtbl.Cap]
Hashtbl.replace tbl x y replaces the current binding of x
in tbl by a binding of x to y.
- replace [Hashtbl.Cap.Labels]
- replace [Hashtbl.S.Labels]
- replace [Rope]
replace ~str ~sub ~by returns a tuple constisting of a boolean
and a rope where the first occurrence of the rope sub
within str has been replaced by the rope by.
- replace [String]
replace ~str ~sub ~by returns a tuple constisting of a boolean
and a string where the first occurrence of the string sub
within str has been replaced by the string by.
- replace [String.Cap]
replace ~str ~sub ~by returns a tuple constisting of a boolean
and a string where the first occurrence of the string sub
within str has been replaced by the string by.
- replace_chars [Rope]
replace_chars f s returns a rope where all chars c of s have been
replaced by the rope returned by f c.
- replace_chars [String]
replace_chars f s returns a string where all chars c of s have been
replaced by the string returned by f c.
- replace_chars [String.Cap]
replace_chars f s returns a string where all chars c of s have been
replaced by the string returned by f c.
- replace_first [Str]
Same as Str.global_replace, except that only the first substring
matching the regular expression is replaced.
- replace_matched [Str]
replace_matched repl s returns the replacement text repl
in which \1, \2, etc.
- repr [Obj]
- reserved_names [Future.Genlex.Languages.Definition]
- reserved_names [Extlib.ExtGenlex.Genlex.Languages.Definition]
- reset [Buffer]
Empty the buffer and deallocate the internal string holding the
buffer contents, replacing it with the initial internal string
of length n that was allocated by Buffer.create n.
- reset [UTF8.Buf]
Empty the buffer and de-allocate the internal storage.
- reshape [Big_array]
reshape b [|d1;...;dN|] converts the big array b to a
N-dimensional array of dimensions d1...
- reshape_1 [Big_array]
- reshape_2 [Big_array]
- reshape_3 [Big_array]
- resolve_path [Packages]
Resolves findlib notation in filename paths.
- result_of_sexp [Standard]
- return [Return]
Return to a label.
- return [Monad.S]
Return a value.
- return [Future.Parser_co]
A parser which always succeds
- rev [Array]
Array reversal.
- rev [Array.Cap]
Array transformations
- rev [Dllist]
List reversal.
- rev [Ref_list]
Reverses the ref list - O(n)
- rev [Lazy_list]
Eager list reversal.
- rev [List]
List reversal.
- rev_append [Lazy_list]
Eager reverse-and-append
- rev_append [List]
List.rev_append l1 l2 reverses l1 and concatenates it to l2.
- rev_drop [Dllist]
Remove node from the list no matter where it is.
- rev_enum [Dllist]
Create a reverse enum of the list.
- rev_in_place [Array]
In-place array reversal.
- rev_in_place [Array.Cap]
In-place array reversal.
- rev_map [List]
List.rev_map f l gives the same result as
List.rev (List.map f l), but is
more efficient.
- rev_map [List.Labels]
- rev_map2 [List]
List.rev_map2 f l1 l2 gives the same result as
List.rev (List.map2 f l1 l2), but is tail-recursive and
more efficient.
- rev_map2 [List.Labels]
- rewinddir [Unix]
Reposition the descriptor to the beginning of the directory
- rfind [Ref_list]
Find the first element in the reversed ref list matching
the specified predicate
raise Not_found if no element is found
- rfind [Lazy_list]
rfind p l returns the last element x of l such as p x returns
true or raises Not_found if such element as not been found.
- rfind [Lazy_list.Exceptionless]
rfind p l returns Some x where x is the last element of l such
that p x returns true or None if such element as not been found.
- rfind [Lazy_list.Labels]
- rfind [Lazy_list.Labels.Exceptionless]
- rfind [List]
rfind p l returns the last element x of l such as p x returns
true or raises Not_found if such element as not been found.
- rfind [List.Exceptionless]
rfind p l returns Some x where x is the last element of l such
that p x returns true or None if such element as not been found.
- rfind [List.Labels]
- rfind [List.Labels.LExceptionless]
- rfind [Rope]
rfind s x returns the starting index of the last occurrence
of rope x within rope s.
- rfind [String]
rfind s x returns the starting index of the last occurrence
of string x within string s.
- rfind [String.Cap]
rfind s x returns the starting index of the last occurrence
of string x within string s.
- rfind_exn [Lazy_list]
find_exn p e l returns the last element of l such as p x
returns true or raises e if such an element has not been found.
- rfind_exn [Lazy_list.Labels]
- rfind_from [Rope]
rfind_from s ofs x behaves as rfind s x but starts searching
at offset ofs.
- rfind_from [String]
rfind_from s ofs x behaves as rfind s x but starts searching
at offset ofs.
- rfind_from [String.Cap]
rfind_from s ofs x behaves as rfind s x but starts searching
at offset ofs.
- rfindi [Lazy_list]
findi p e l returns the last element ai of l along with its
index i such that p i ai is true, or raises Not_found if no
such element has been found.
- rfindi [Lazy_list.Exceptionless]
findi p e l returns Some (i, ai) where ai and i are respectively the
last element of l and its index, such that p i ai is true,
or None if no such element has been found.
- rfindi [Lazy_list.Labels]
- rfindi [Lazy_list.Labels.Exceptionless]
- rhs_end [Parsing]
- rhs_end_pos [Parsing]
Same as rhs_end, but return a position instead of an offset.
- rhs_start [Parsing]
Same as Parsing.symbol_start and Parsing.symbol_end, but
return the offset of the string matching the nth item on the
right-hand side of the rule, where n is the integer parameter
to rhs_start and rhs_end.
- rhs_start_pos [Parsing]
Same as rhs_start, but return a position instead of an offset.
- right [Rope]
left r len returns the rope containing the len last characters of r
- right [String]
left r len returns the string containing the len last characters of r
- right [String.Cap]
left r len returns the string containing the len last characters of r
- rindex [UTF8]
As String.rindex
- rindex [Rope]
Rope.rindex s c returns the position of the rightmost
occurrence of character c in rope s.
- rindex [String]
String.rindex s c returns the position of the rightmost
occurrence of character c in string s.
- rindex [String.Cap]
String.rindex s c returns the position of the rightmost
occurrence of character c in string s.
- rindex [Future.PathGen.StringType]
- rindex_from [Rope]
Same as Rope.rindex, but start
searching at the character position given as second argument.
- rindex_from [String]
Same as String.rindex, but start
searching at the character position given as second argument.
- rindex_from [String.Cap]
Same as String.rindex, but start
searching at the character position given as second argument.
- rindex_of [Lazy_list]
index_of e l returns the index of the last occurrence of e
in l, or None if there is no occurrence of e in l
- rindex_of [List]
rindex_of e l returns the index of the last occurrence of e
in l, or None if there is no occurrence of e in l
- rindex_ofq [Lazy_list]
rindex_ofq e l behaves as rindex_of e l except it uses
physical equality
- rindex_ofq [List]
rindex_ofq e l behaves as rindex_of e l except it uses
physical equality
- rmdir [Unix]
Remove an empty directory.
- root [Future.PathGen.PathType]
Root of the filesystem ([""]).
- root [Extlib.PathGen.PathType]
Root of the filesystem ([""]).
- rope [Future.UChar_parser]
Recognize exactly one string
- round [Num]
- rprintf [Print]
rprintf fmt returns the result as a rope
- rsplit [Rope]
rsplit s sep splits the rope s between the last
occurrence of sep.
- rsplit [String]
rsplit s sep splits the string s between the last
occurrence of sep.
- rsplit [String.Cap]
rsplit s sep splits the string s between the last
occurrence of sep.
- run [Future.Parser_co]
run p s executes parser p on source s.
- run_initializers [Oo.Internal]
- run_initializers_opt [Oo.Internal]
|
S |
- s [Future.PathGen.PathType]
- s [Extlib.PathGen.PathType]
- sat [Future.Parser_co]
Others
- satisfy [Future.Parser_co]
satisfy p accepts one value p x such that p x = true
- scan [Enum]
scan is similar to scanl but without the init value: if e
contains x1, x2, x3 ..., scan f e is the enumeration containing
x1, f x1 x2, f (f x1 x2) x3...
- scan [Stream]
scan is similar to scanl but without the init value: scan f
[<'e1;'e2;..>] = [<'e1;'(f e1 e2);..>].
- scan [Future.Parser_co]
Use a parser to extract list of tokens, but return
that list of tokens instead of whatever the original
parser returned.
- scanf [Scanf]
- scanl [Standard]
Functional loop on an enumeration, used to build an enumeration
from both an enumeration and an initial value.
- scanl [Enum]
A variant of fold producing an enumeration of its intermediate values.
- scanl [Stream]
scanl f init stream returns a stream of successive reduced values from the
left: scanl f init [<'e1;'e2;..>] = [<'init; '((f init e1) as e1'); '(f
e1' e2); ..>]
- search [Str]
search r s searches for all the substrings of s matching
regular expression r.
- search_backward [Str]
search_backward r s last searches the string s for a
substring matching the regular expression r.
- search_forward [Str]
search_forward r s start searches the string s for a substring
matching the regular expression r.
- search_path [Packages]
Get the search path for packages
- second [Standard]
Apply a function to the second element of a pair.
- select [Event]
``Synchronize'' on an alternative of events.
- select [Thread]
Suspend the execution of the calling thead until input/output
becomes possible on the given Unix file descriptors.
- select [Threads.Event]
``Synchronize'' on an alternative of events.
- select [Threads.Thread]
Suspend the execution of the calling thead until input/output
becomes possible on the given Unix file descriptors.
- select [Unix]
Wait until some input/output operations become possible on
some channels.
- self [Thread]
Return the thread currently executing.
- self [Threads.Thread]
Return the thread currently executing.
- self_init [Random]
Initialize the generator with a more-or-less random seed chosen
in a system-dependent way.
- send [Event]
send ch v returns the event consisting in sending the value v
over the channel ch.
- send [Threads.Event]
send ch v returns the event consisting in sending the value v
over the channel ch.
- send [Oo.Internal]
- send [Unix]
Send data over a connected socket.
- sendcache [Oo.Internal]
- sendself [Oo.Internal]
- sendto [Unix]
Send data over an unconnected socket.
- seq [Enum]
seq init step cond creates a sequence of data, which starts
from init, extends by step, until the condition cond
fails.
- seq [Enum.Labels]
- seq [Lazy_list]
seq init step cond creates a sequence of data, which starts
from init, extends by step, until the condition cond
fails.
- set [Array]
Array.set a n x modifies array a in place, replacing
element number n with x.
- set [Array.Cap]
Array.set a n x modifies array a in place, replacing
element number n with x.
- set [Big_array.Genarray]
Assign an element of a generic big array.
- set [Big_array.Array1]
Array1.set a x v, also written a.{x} <- v,
stores the value v at index x in a.
- set [Big_array.Array2]
Array2.set a x y v, or alternatively a.{x,y} <- v,
stores the value v at coordinates (x, y) in a.
- set [Big_array.Array3]
Array3.set a x y v, or alternatively a.{x,y,z} <- v,
stores the value v at coordinates (x, y, z) in a.
- set [Dllist]
Given a node, set the data associated with that node.
- set [Dyn_array]
set darr idx v sets the element of darr at index idx to value
v.
- set [Global]
Set the global value contents.
- set [Ref_list.Index]
Change the element at the specified index
raise Invalid_index if the index is outside 0 ; length-1
- set [Ref]
As :=
- set [Vect.RANDOMACCESS]
- set [Vect]
set n c r returns a copy of the r vect where the (n+1)th element
(see also get) has been set to c.
- set [Vect.Make]
set r n c returns a copy of the r vect where the (n+1)th element
(see also get) has been set to c.
- set [Bit_set]
set s n sets the nth-bit in the bitset s to true.
- set [Rope]
set r n c returns a copy of rope r where the (n+1)th character
has been set to c.
- set [String]
String.set s n c modifies string s in place,
replacing the character number n by c.
- set [String.Cap]
String.set s n c modifies string s in place,
replacing the character number n by c.
- set [Gc]
set r changes the GC parameters according to the control record r.
- set [Weak]
Weak.set ar n (Some el) sets the nth cell of ar to be a
(full) pointer to el; Weak.set ar n None sets the nth
cell of ar to empty.
- set [Opt_parse.Opt]
Set the value of an option.
- set_all_formatter_output_functions [Format]
set_all_formatter_output_functions out flush outnewline outspace
redirects the pretty-printer output to the functions out and
flush as described in set_formatter_output_functions.
- set_browser [Batteries_config]
- set_close_on_exec [Unix]
Set the ``close-on-exec'' flag on the given descriptor.
- set_ellipsis_text [Format]
Set the text of the ellipsis printed when too many boxes
are opened (a single dot, ., by default).
- set_field [Obj]
- set_formatter_out_channel [Format]
Redirect the pretty-printer output to the given channel.
- set_formatter_output [Format]
- set_formatter_output_functions [Format]
set_formatter_output_functions out flush redirects the
pretty-printer output to the functions out and flush.
- set_formatter_tag_functions [Format]
- set_full_state [Future.Parser_co.Source]
- set_margin [Format]
set_margin d sets the value of the right margin
to d (in characters): this value is used to detect line
overflows that leads to split lines.
- set_mark_tags [Format]
set_print_tags b turns on or off the printing of tags, while
set_mark_tags b turns on or off the output of tag markers.
- set_max_boxes [Format]
set_max_boxes max sets the maximum number
of boxes simultaneously opened.
- set_max_indent [Format]
set_max_indent d sets the value of the maximum
indentation limit to d (in characters):
once this limit is reached, boxes are rejected to the left,
if they do not fit on the current line.
- set_method [Oo.Internal]
- set_methods [Oo.Internal]
- set_nonblock [Unix]
Set the ``non-blocking'' flag on the given descriptor.
- set_permissions [File]
Set the permissions on a file.
- set_print_tags [Format]
- set_resizer [Dyn_array]
Change the resizer for this array.
- set_signal [Shell]
- set_state [Random]
Set the state of the generator used by the basic functions.
- set_tab [Format]
Sets a tabulation mark at the current insertion point.
- set_tag [Obj]
- set_tags [Format]
set_tags b turns on or off the treatment of tags (default is off).
- setgid [Unix]
Set the real group id and effective group id for the process.
- setitimer [Unix]
setitimer t s sets the interval timer t and returns
its previous status.
- setsid [Unix]
Put the calling process in a new session and detach it from
its controlling terminal.
- setsockopt [Unix]
Set or clear a boolean-valued option in the given socket.
- setsockopt_float [Unix]
Same as Unix.setsockopt for a socket option whose value is a floating-point number.
- setsockopt_int [Unix]
- setsockopt_optint [Unix]
- setuid [Unix]
Set the real user id and effective user id for the process.
- sexp_of_abstr [SExpr]
sexp_of_abstr x converts the value x of abstract type to an
S-expression.
- sexp_of_array [SExpr]
sexp_of_array conv ar converts the value ar of type 'a
array to an S-expression.
- sexp_of_big_int [SExpr]
sexp_of_big_int n converts the value n of type Big_int.big_int
to an S-expression.
- sexp_of_bool [SExpr]
sexp_of_bool b converts the value x of type bool to an
S-expression.
- sexp_of_char [SExpr]
sexp_of_char c converts the value c of type char to an
S-expression.
- sexp_of_float [SExpr]
sexp_of_float n converts the value n of type float to an
S-expression.
- sexp_of_float32_mat [SExpr]
sexp_of_float32_mat mat converts the two-dimensional bigarray
mat of 32-bit floats in Fortran-layout to an S-expression.
- sexp_of_float32_vec [SExpr]
sexp_of_float32_vec vec converts the one-dimensional bigarray
vec of 32-bit floats in Fortran-layout to an S-expression.
- sexp_of_float64_mat [SExpr]
sexp_of_float64_mat mat converts the two-dimensional bigarray
mat of 64-bit floats in Fortran-layout to an S-expression.
- sexp_of_float64_vec [SExpr]
sexp_of_float64_vec vec converts the one-dimensional bigarray
vec of 64-bit floats in Fortran-layout to an S-expression.
- sexp_of_fun [SExpr]
sexp_of_fun f converts the value f of function type to an
S-expression.
- sexp_of_hashtbl [SExpr]
sexp_of_hashtbl conv_key conv_value htbl converts the value htbl
of type ('a, 'b) Hashtbl.t to an S-expression.
- sexp_of_int [SExpr]
sexp_of_int n converts the value n of type int to an
S-expression.
- sexp_of_int32 [SExpr]
sexp_of_int32 n converts the value n of type int32 to an
S-expression.
- sexp_of_int64 [SExpr]
sexp_of_int64 n converts the value n of type int64 to an
S-expression.
- sexp_of_lazy [SExpr]
sexp_of_ref conv l converts the value l of type 'a lazy_t to
an S-expression.
- sexp_of_list [SExpr]
sexp_of_list conv lst converts the value lst of type 'a
list to an S-expression.
- sexp_of_mat [SExpr]
sexp_of_mat mat same as Conv.sexp_of_float64_mat.
- sexp_of_nat [SExpr]
sexp_of_nat n converts the value n of type Nat.nat to an
S-expression.
- sexp_of_nativeint [SExpr]
sexp_of_nativeint n converts the value n of type nativeint to an
S-expression.
- sexp_of_node_t [Lazy_list]
- sexp_of_num [SExpr]
sexp_of_num n converts the value n of type Num.num to an
S-expression.
- sexp_of_opaque [SExpr]
sexp_of_opaque _ _ converts opaque OCaml-values to S-expressions.
- sexp_of_option [SExpr]
sexp_of_option conv opt converts the value opt of type 'a
option to an S-expression.
- sexp_of_pair [SExpr]
sexp_of_pair conv1 conv2 pair converts a pair to an S-expression.
- sexp_of_ratio [SExpr]
sexp_of_ratio n converts the value n of type Ratio.ratio to an
S-expression.
- sexp_of_ref [SExpr]
sexp_of_ref conv r converts the value r of type 'a ref to
an S-expression.
- sexp_of_result [Standard]
- sexp_of_string [SExpr]
sexp_of_bool str converts the value str of type string to an
S-expression.
- sexp_of_t [Array]
- sexp_of_t [Array.Cap]
- sexp_of_t [Dllist]
- sexp_of_t [Dyn_array]
- sexp_of_t [Global]
- sexp_of_t [Hashtbl.S]
- sexp_of_t [Hashtbl]
- sexp_of_t [Extlib.ExtHashtbl.Hashtbl.S]
- sexp_of_t [Hashtbl.Cap]
- sexp_of_t [Ref_list]
- sexp_of_t [Queue]
- sexp_of_t [Ref]
- sexp_of_t [Stack]
- sexp_of_t [Vect]
- sexp_of_t [Lazy]
- sexp_of_t [Lazy_list]
- sexp_of_t [List]
- sexp_of_t [Map.S]
- sexp_of_t [Extlib.ExtMap.Map.S]
- sexp_of_t [Multi_pmap]
- sexp_of_t [Option]
- sexp_of_t [PMap]
- sexp_of_t [PSet]
- sexp_of_t [Set.S]
- sexp_of_t [Extlib.ExtSet.Set.S]
- sexp_of_t [Unit]
- sexp_of_t [Bool]
- sexp_of_t [Bit_set]
- sexp_of_t [Big_int]
- sexp_of_t [Complex]
- sexp_of_t [Float]
- sexp_of_t [Int]
- sexp_of_t [Native_int]
- sexp_of_t [Num]
- sexp_of_t [Safe_float]
- sexp_of_t [Safe_int]
- sexp_of_t [Buffer]
- sexp_of_t [Char]
- sexp_of_t [UTF8]
- sexp_of_t [Rope]
- sexp_of_t [String]
- sexp_of_t [SExpr]
- sexp_of_t [MD5]
- sexp_of_t [Random.State]
- sexp_of_t [Date]
- sexp_of_t [Future.Result]
- sexp_of_triple [SExpr]
sexp_of_triple conv1 conv2 conv3 triple converts a triple to
an S-expression using conv1, conv2, and conv3 to convert its
elements.
- sexp_of_unit [SExpr]
sexp_of_unit () converts a value of type unit to an S-expression.
- sexp_of_vec [SExpr]
sexp_of_vec vec same as Conv.sexp_of_float64_vec.
- shift_left [Int32]
Int32.shift_left x y shifts x to the left by y bits.
- shift_left [Int64]
Int64.shift_left x y shifts x to the left by y bits.
- shift_left [Native_int]
Nativeint.shift_left x y shifts x to the left by y bits.
- shift_right [Int32]
Int32.shift_right x y shifts x to the right by y bits.
- shift_right [Int64]
Int64.shift_right x y shifts x to the right by y bits.
- shift_right [Native_int]
Nativeint.shift_right x y shifts x to the right by y bits.
- shift_right_logical [Int32]
Int32.shift_right_logical x y shifts x to the right by y bits.
- shift_right_logical [Int64]
Int64.shift_right_logical x y shifts x to the right by y bits.
- shift_right_logical [Native_int]
Nativeint.shift_right_logical x y shifts x to the right
by y bits.
- should [Future.Parser_co]
Prevent backtracking.
- shuffle [Random]
shuffle e returns a new array, containing the
same set of elements as e, but in a random order.
- shutdown [Unix]
Shutdown a socket connection.
- shutdown_connection [Unix]
``Shut down'' a connection established with Unix.open_connection;
that is, transmit an end-of-file condition to the server reading
on the other side of the connection.
- sigabrt [Shell]
Abnormal termination
- sigalrm [Shell]
Timeout
- sigchld [Shell]
Child process terminated
- sigcont [Shell]
Continue
- sigfpe [Shell]
Arithmetic exception
- sighup [Shell]
Hangup on controlling terminal
- sigill [Shell]
Invalid hardware instruction
- sigint [Shell]
Interactive interrupt (ctrl-C)
- sigkill [Shell]
Termination (cannot be ignored)
- sigmask [Thread]
sigmask cmd sigs changes the set of blocked signals for the
calling thread.
- sigmask [Threads.Thread]
sigmask cmd sigs changes the set of blocked signals for the
calling thread.
- sign [Num]
Return -1, 0 or 1 according to the sign of the argument.
- sign_big_int [Big_int]
Return 0 if the given big integer is zero,
1 if it is positive, and -1 if it is negative.
- signal [Condition]
signal c restarts one of the processes waiting on the
condition variable c.
- signal [Threads.Condition]
signal c restarts one of the processes waiting on the
condition variable c.
- signal [Shell]
Set the behavior of the system on receipt of a given signal.
- signed_bytes_of [IO]
Read an enumeration of signed 8-bit integers.
- sigpending [Unix]
Return the set of blocked signals that are currently pending.
- sigpipe [Shell]
Broken pipe
- sigprocmask [Unix]
sigprocmask cmd sigs changes the set of blocked signals.
- sigprof [Shell]
Profiling interrupt
- sigquit [Shell]
Interactive termination
- sigsegv [Shell]
Invalid memory reference
- sigstop [Shell]
Stop
- sigsuspend [Unix]
sigsuspend sigs atomically sets the blocked signals to sigs
and waits for a non-ignored, non-blocked signal to be delivered.
- sigterm [Shell]
Termination
- sigtstp [Shell]
Interactive stop
- sigttin [Shell]
Terminal read from background process
- sigttou [Shell]
Terminal write from background process
- sigusr1 [Shell]
Application-defined signal 1
- sigusr2 [Shell]
Application-defined signal 2
- sigvtalrm [Shell]
Timeout in virtual time
- sin [Standard]
- sin [Float]
- sin [Safe_float]
- since_epoch [Date]
Convert a date/time record into the time (seconds since the epoch)
- single_write [Unix]
Same as write, but attempts to write only once.
- singleton [Enum]
Create an enumeration consisting in exactly one element.
- singleton [Vect]
Returns a Vect of length 1 holding only the given element.
- singleton [Vect.Make]
Returns a vect of length 1 holding only the given element.
- singleton [Set.S]
singleton x returns the one-element set containing only x.
- singleton [Extlib.ExtSet.Set.S]
singleton x returns the one-element set containing only x.
- sinh [Standard]
- sinh [Float]
- sinh [Safe_float]
- size [Native_int]
The size in bits of a native integer.
- size [Obj]
- size_of [File]
size_of name returns the size of file name in bytes.
- size_of_big [File]
size_of_big name returns the size of file name in bytes, as a 64-bit integer.
- skip [Dllist]
skip n i Return the node that is i nodes after node n in the list.
- skip [Enum]
skip n e removes the first n element from the enumeration, if any,
then returns e.
- sleep [Unix]
Stop execution for the given number of seconds.
- slice [Rope]
slice ?first ?last s returns a "slice" of the rope
which corresponds to the characters s.[first],
s.[first+1], ..., s[last-1].
- slice [String]
slice ?first ?last s returns a "slice" of the string
which corresponds to the characters s.[first],
s.[first+1], ..., s[last-1].
- slice [String.Cap]
slice ?first ?last s returns a "slice" of the string
which corresponds to the characters s.[first],
s.[first+1], ..., s[last-1].
- slice_left [Big_array.Genarray]
Extract a sub-array of lower dimension from the given big array
by fixing one or several of the first (left-most) coordinates.
- slice_left [Big_array.Array2]
Extract a row (one-dimensional slice) of the given two-dimensional
big array.
- slice_left_1 [Big_array.Array3]
Extract a one-dimensional slice of the given three-dimensional
big array by fixing the first two coordinates.
- slice_left_2 [Big_array.Array3]
Extract a two-dimensional slice of the given three-dimensional
big array by fixing the first coordinate.
- slice_right [Big_array.Genarray]
Extract a sub-array of lower dimension from the given big array
by fixing one or several of the last (right-most) coordinates.
- slice_right [Big_array.Array2]
Extract a column (one-dimensional slice) of the given
two-dimensional big array.
- slice_right_1 [Big_array.Array3]
Extract a one-dimensional slice of the given three-dimensional
big array by fixing the last two coordinates.
- slice_right_2 [Big_array.Array3]
Extract a two-dimensional slice of the given
three-dimensional big array by fixing the last coordinate.
- socket [Unix]
Create a new socket in the given domain, and with the
given kind.
- socketpair [Unix]
Create a pair of unnamed sockets, connected together.
- sort [Array]
Sort an array in increasing order according to a comparison
function.
- sort [Array.Cap]
Sort an array in increasing order according to a comparison
function.
- sort [Array.Cap.Labels]
- sort [Array.Labels]
- sort [Ref_list]
Sort elements using the specified comparator
or compare as default comparator
- sort [Lazy_list]
Sort the list using optional comparator (by default compare).
- sort [List]
Sort the list using optional comparator (by default compare).
- sort_unique [List]
sort_unique cmp l returns the list l sorted and without any duplicate element.
- source [Future.PathGen.StringType.Parse]
- source_map [Future.Parser_co]
- source_of_enum [Future.Char_parser]
Create a source from a latin-1 character.
- source_of_enum [Future.UChar_parser]
Create a source from an enumeration of unicode characters.
- source_of_rope [Future.UChar_parser]
Create a source from a Unicode Rope.
- source_of_string [Future.Char_parser]
Create a source from a latin-1 character string.
- span [Enum]
span test e produces two enumerations (hd, tl), such that
hd is the same as take_while test e and tl is the same
as drop_while test e.
- splice [Dllist]
splice n1 n2 Connects n1 and n2 so that
next n1 == n2 && prev n2 == n1.
- splice [Rope]
splice s off len rep returns the rope in which the section of s
indicated by off and len has been cut and replaced by rep.
- splice [String]
String.splice s off len rep cuts out the section of s
indicated by off and len and replaces it by rep
- splice [String.Cap]
String.splice s off len rep cuts out the section of s
indicated by off and len and replaces it by rep
- split [Seq]
split s = (map fst s, map snd s)
- split [Stream]
split is the opposite of comb
- split [List]
Transform a list of pairs into a pair of lists:
split [(a1,b1); ...; (an,bn)] is ([a1; ...; an], [b1; ...; bn]).
- split [Set.S]
split x s returns a triple (l, present, r), where
l is the set of elements of s that are
strictly less than x;
r is the set of elements of s that are
strictly greater than x;
present is false if s contains no element equal to x,
or true if s contains an element equal to x.
- split [Extlib.ExtSet.Set.S]
split x s returns a triple (l, present, r), where
l is the set of elements of s that are
strictly less than x;
r is the set of elements of s that are
strictly greater than x;
present is false if s contains no element equal to x,
or true if s contains an element equal to x.
- split [Rope]
split s sep splits the rope s between the first
occurrence of sep.
- split [String]
split s sep splits the string s between the first
occurrence of sep.
- split [String.Cap]
Splitting around
- split [Str]
split r s splits s into substrings, taking as delimiters
the substrings that match r, and returns the list of substrings.
- split [Future.PathGen.PathType]
Dissect the path to its components (parent path, core part of name and possibly an extension).
- split [Extlib.PathGen.PathType]
Dissect the path to its components (parent path, core part of name and possibly an extension).
- split_at [Lazy_list]
split_at n l returns two lists l1 and l2, l1 containing the
first n elements of l and l2 the others.
- split_at [Lazy_list.Exceptionless]
Whenever n is inside of l size bounds, split_at n l returns
`Ok (l1,l2), where l1 contains the first n elements of l and l2
contains the others.
- split_at [Lazy_list.Labels.Exceptionless]
- split_at [List]
split_at n l returns two lists l1 and l2, l1 containing the
first n elements of l and l2 the others.
- split_at [List.Exceptionless]
Whenever n is inside of l size bounds, split_at n l returns
Ok(l1,l2), where l1 contains the first n elements of l and l2
contains the others.
- split_at [List.Labels.LExceptionless]
- split_delim [Str]
Same as Str.split but occurrences of the
delimiter at the beginning and at the end of the string are
recognized and returned as empty strings in the result.
- split_nth [Lazy_list]
Obsolete.
- split_nth [List]
Obsolete.
- sprint [Array]
Using a string printer, print an array to a string (as sprintf vs.
- sprint [Array.Cap]
Using a string printer, print an array to a string (as sprintf vs.
- sprint [Seq]
Using a string printer, print a sequence to a string (as sprintf vs.
- sprint [List]
Using a string printer, print a list to a string (as sprintf vs.
- sprintf [Format]
Same as printf above, but instead of printing on a formatter,
returns a string containing the result of formatting the arguments.
- sprintf [Printf]
A function which doesn't print its result but returns it as a string.
- sprintf [Print]
A function which doesn't print its result but returns it as a string.
- sprintf2 [Printf]
A function which doesn't print its result but returns it as a string.
- sqrt [Standard]
Square root
- sqrt [Complex]
Square root.
- sqrt_big_int [Big_int]
sqrt_big_int a returns the integer square root of a,
that is, the largest big integer r such that r * r <= a.
- square [Num]
- square_big_int [Big_int]
Return the square of the given big integer
- sscanf [Scanf]
- sscanf_format [Scanf]
- stable_sort [Array]
Same as Array.sort, but the sorting algorithm is stable (i.e.
- stable_sort [Array.Cap]
Same as Array.sort, but the sorting algorithm is stable (i.e.
- stable_sort [Array.Cap.Labels]
- stable_sort [Array.Labels]
- stable_sort [Lazy_list]
- stable_sort [List]
Same as List.sort, but the sorting algorithm is guaranteed to
be stable (i.e.
- stable_sort [List.Labels]
- start [Future.Genlex.Languages.Make]
Medium-level API
- starts_with [Rope]
starts_with s x returns true if s is starting with x, false otherwise.
- starts_with [String]
starts_with s x returns true if s is starting with x, false otherwise.
- starts_with [String.Cap]
starts_with s x return true if s is starting with x.
- stat [Gc]
Return the current values of the memory management counters in a
stat record.
- stat [Unix]
Return the information for the named file.
- stat [Unix.LargeFile]
- state [Future.Parser_co]
Succeed and return the state of the parser
- stats [Oo.Internal]
- stats [Weak.S]
Return statistics on the table.
- stats [Batlib_Baselib_Weak.S]
Return statistics on the table.
- std_formatter [Format]
The standard formatter used by the formatting functions
above.
- stdbuf [Format]
The string buffer in which str_formatter writes.
- stderr [Standard]
Standard error output, as per Unix/Windows conventions.
- stderr [IO]
Standard error output, as per Unix/Windows conventions.
- stderr [Unix]
File descriptor for standard error.
- stderr_formatter [Future.Logger]
stderr_formatter is a standard formatter that outputs log
events to stderr using the same format as
make_std_formatter.
- stdib [Scanf.Scanning]
The scanning buffer reading from stdin.
- stdin [Standard]
Standard input, as per Unix/Windows conventions (by default, keyboard).
- stdin [IO]
Standard input, as per Unix/Windows conventions (by default, keyboard).
- stdin [Unix]
File descriptor for standard input.
- stdnull [Standard]
An output which discards everything written to it.
- stdnull [IO]
An output which discards everything written to it.
- stdout [Standard]
Standard output, as per Unix/Windows conventions (by default, console).
- stdout [IO]
Standard output, as per Unix/Windows conventions (by default, console).
- stdout [Unix]
File descriptor for standard output.
- step_resizer [Dyn_array]
The stepwise resizer- another example of a resizer function, this
time of a parameterized resizer.
- store_const [Opt_parse.StdOpt]
store_const ?default const returns a flag option which
stores the constant value const when the option is
encountered on the command line.
- store_false [Opt_parse.StdOpt]
store_false () returns an option which is set to false when
it is encountered on the command line.
- store_true [Opt_parse.StdOpt]
store_true () returns an option which is set to true when
it is encountered on the command line.
- str_callback [Opt_parse.StdOpt]
- str_decode [Base64]
Decode a string encoded into Base64, raise Invalid_char if a
character in the input string is not a valid one.
- str_encode [Base64]
Encode a string into Base64.
- str_formatter [Format]
A formatter to use with formatting functions below for
output to the stdbuf string buffer.
- str_option [Opt_parse.StdOpt]
- string [MD5]
Return the digest of the given string.
- string [Future.Genlex.Languages.Make]
As CharParser.string, but case-insensitive if specified
by case_sensitive.
- string [Future.Char_parser]
Recognize exactly one string
- string [Future.UChar_parser]
Recognize exactly one string
- string_after [Str]
string_after s n returns the substring of all characters of s
that follow position n (including the character at
position n).
- string_before [Str]
string_before s n returns the substring of all characters of s
that precede position n (excluding the character at
position n).
- string_literal [Future.Genlex.Languages.Make]
Accepts a string, i.e.
- string_match [Str]
string_match r s start tests whether a substring of s that
starts at position start matches the regular expression r.
- string_of [Unit]
Convert the given unit to a string.
- string_of__of__sexp_of [SExpr]
string_of__of__sexp_of conv x converts the OCaml-value x to
an S-expression represented as a string by using conversion function
conv.
- string_of_big_int [Big_int]
Return the string representation of the given big integer,
in decimal (base 10).
- string_of_bool [Standard]
Return the string representation of a boolean.
- string_of_char [Standard]
creates a string from a char.
- string_of_command [Compilers]
Format a command as a string, fit for use with Sys.command
- string_of_float [Standard]
Return the string representation of a floating-point number.
- string_of_format [Standard]
Converts a format string into a string.
- string_of_inet_addr [Unix]
Return the printable representation of the given Internet address.
- string_of_int [Standard]
Return the string representation of an integer, in decimal.
- string_of_sexp [SExpr]
string_of_sexp sexp converts S-expression sexp to a value of type
string.
- string_partial_match [Str]
Similar to Str.string_match, but also returns true if
the argument string is a prefix of a string that matches.
- string_tag [Obj]
- strings_of [IO]
Read an enumeration of null-terminated strings.
- strip [Rope]
Returns the rope without the chars if they are at the beginning or
at the end of the rope.
- strip [String]
Returns the string without the chars if they are at the beginning or
at the end of the string.
- strip [String.Cap]
Returns the string without the chars if they are at the beginning or
at the end of the string.
- sub [Array]
Array.sub a start len returns a fresh array of length len,
containing the elements number start to start + len - 1
of array a.
- sub [Array.Cap]
Array.sub a start len returns a fresh array of length len,
containing the elements number start to start + len - 1
of array a.
- sub [Array.Cap.Labels]
- sub [Array.Labels]
- sub [Big_array.Array1]
Extract a sub-array of the given one-dimensional big array.
- sub [Dyn_array]
sub darr start len returns an array holding the subset of len
elements from darr starting with the element at index idx.
- sub [Vect.RANDOMACCESS]
- sub [Vect]
sub m n r returns a sub-vect of r containing all the elements
whose indexes range from m to m + n - 1 (included).
- sub [Vect.Make]
sub m n r returns a sub-vect of r containing all the elements
whose indexes range from m to m + n - 1 (included).
- sub [Bool]
- sub [Numeric.Numeric]
- sub [Big_int]
- sub [Complex]
Subtraction
- sub [Float]
- sub [Int]
Subtraction.
- sub [Int32]
Subtraction.
- sub [Int64]
Subtraction.
- sub [Native_int]
Subtraction.
- sub [Num]
- sub [Safe_float]
- sub [Safe_int]
Subtraction.
- sub [Buffer]
Buffer.sub b off len returns (a copy of) the substring of the
current contents of the buffer b starting at offset off of length
len bytes.
- sub [UTF8]
- sub [Rope]
sub r m n returns a sub-rope of r containing all characters
whose indexes range from m to m + n - 1 (included).
- sub [String]
String.sub s start len returns a fresh string of length len,
containing the characters number start to start + len - 1
of string s.
- sub [String.Cap]
String.sub s start len returns a fresh string of length len,
containing the characters number start to start + len - 1
of string s.
- sub [Future.PathGen.StringType]
- sub_left [Big_array.Genarray]
Extract a sub-array of the given big array by restricting the
first (left-most) dimension.
- sub_left [Big_array.Array2]
Extract a two-dimensional sub-array of the given two-dimensional
big array by restricting the first dimension.
- sub_left [Big_array.Array3]
Extract a three-dimensional sub-array of the given
three-dimensional big array by restricting the first dimension.
- sub_right [Big_array.Genarray]
Extract a sub-array of the given big array by restricting the
last (right-most) dimension.
- sub_right [Big_array.Array2]
Extract a two-dimensional sub-array of the given two-dimensional
big array by restricting the second dimension.
- sub_right [Big_array.Array3]
Extract a three-dimensional sub-array of the given
three-dimensional big array by restricting the second dimension.
- subset [Set.S]
subset s1 s2 tests whether the set s1 is a subset of
the set s2.
- subset [Extlib.ExtSet.Set.S]
subset s1 s2 tests whether the set s1 is a subset of
the set s2.
- substitute_first [Str]
Same as Str.global_substitute, except that only the first substring
matching the regular expression is replaced.
- substring [MD5]
Digest.substring s ofs len returns the digest of the substring
of s starting at character number ofs and containing len
characters.
- succ [Standard]
succ x is x+1.
- succ [Bool]
- succ [Numeric.Discrete]
- succ [Big_int]
- succ [Complex]
- succ [Float]
Add 1. to a floating number.
- succ [Int]
Successor.
- succ [Int32]
Successor.
- succ [Int64]
Successor.
- succ [Native_int]
Successor.
- succ [Num]
- succ [Safe_float]
Add 1. to a floating number.
- succ [Safe_int]
Successor.
- suffix_action [Enum]
suffix_action f e will behave as e but guarantees that f ()
will be invoked after the contents of e are exhausted.
- swap [Ref]
swap a b puts !b in a and !a in b
- switch [Enum]
switch test enum splits enum into two enums, where the first enum have
all the elements satisfying test, the second enum is opposite.
- switch [Enum.Labels]
- switch [Stream]
switch test stream split stream into two streams, where the first stream have
all the elements satisfying test, the second stream is opposite.
- sym_diff [Bit_set]
sym_diff s t returns the symmetrical difference of s and t.
- symbol_end [Parsing]
- symbol_end_pos [Parsing]
Same as symbol_end, but return a position instead of an offset.
- symbol_start [Parsing]
symbol_start and Parsing.symbol_end are to be called in the
action part of a grammar rule only.
- symbol_start_pos [Parsing]
Same as symbol_start, but return a position instead of an offset.
- symlink [Unix]
symlink source dest creates the file dest as a symbolic link
to the file source.
- sync [Concurrency]
Specialized version of synchronized.
- sync [Event]
``Synchronize'' on an event: offer all the communication
possibilities specified in the event to the outside world,
and block until one of the communications succeed.
- sync [Threads.Event]
``Synchronize'' on an event: offer all the communication
possibilities specified in the event to the outside world,
and block until one of the communications succeed.
- synchronize [Concurrency.Lock]
- synchronize [Concurrency]
synchronize locker f returns a function f' which behaves as
f but whose executions are protected by one lock obtained from
locker.
- synchronize [Extlib.Concurrent.Lock]
- synchronize [Mutex]
Protect a function.
- synchronize [RMutex]
Protect a function.
- synchronize [Threads.Mutex]
Protect a function.
- synchronize [Threads.RMutex]
Protect a function.
- synchronize_in [IO]
synchronize_in inp produces a new IO.input which reads from input
in a thread-safe way.
- synchronize_out [IO]
synchronize_out out produces a new IO.output which writes to output
in a thread-safe way.
- system [Unix]
Execute the given command, wait until it terminates, and return
its termination status.
|
T |
- t_of_sexp [Array]
- t_of_sexp [Array.Cap]
- t_of_sexp [Dllist]
- t_of_sexp [Dyn_array]
- t_of_sexp [Global]
- t_of_sexp [Hashtbl.S]
- t_of_sexp [Hashtbl]
- t_of_sexp [Extlib.ExtHashtbl.Hashtbl.S]
- t_of_sexp [Hashtbl.Cap]
- t_of_sexp [Ref_list]
- t_of_sexp [Queue]
- t_of_sexp [Ref]
- t_of_sexp [Stack]
- t_of_sexp [Vect]
- t_of_sexp [Lazy]
- t_of_sexp [Lazy_list]
- t_of_sexp [List]
- t_of_sexp [Map.S]
- t_of_sexp [Extlib.ExtMap.Map.S]
- t_of_sexp [Multi_pmap]
- t_of_sexp [Option]
- t_of_sexp [PMap]
- t_of_sexp [PSet]
- t_of_sexp [Set.S]
- t_of_sexp [Extlib.ExtSet.Set.S]
- t_of_sexp [Unit]
- t_of_sexp [Bool]
- t_of_sexp [Bit_set]
- t_of_sexp [Big_int]
- t_of_sexp [Complex]
- t_of_sexp [Float]
- t_of_sexp [Int]
- t_of_sexp [Native_int]
- t_of_sexp [Num]
- t_of_sexp [Safe_float]
- t_of_sexp [Safe_int]
- t_of_sexp [Buffer]
- t_of_sexp [Char]
- t_of_sexp [UTF8]
- t_of_sexp [Rope]
- t_of_sexp [String]
- t_of_sexp [SExpr]
S-Expressions
- t_of_sexp [MD5]
- t_of_sexp [Random.State]
- t_of_sexp [Date]
- t_of_sexp [Future.Result]
- t_printer [Array]
- t_printer [Dyn_array]
- t_printer [Enum]
- t_printer [Seq]
- t_printer [List]
- t_printer [Option]
- t_printer [Bool]
- t_printer [Float]
- t_printer [Int]
- t_printer [Native_int]
- t_printer [Safe_float]
- t_printer [UTF8]
- t_printer [Rope]
- t_printer [String]
- t_printer [String.Cap]
- tab_out [IO]
Create an output shifted to the right by a number of white spaces
(or tab, if given).
- tag [Obj]
- tail [Rope]
tail r pos returns the rope containing all but the pos first characters of r
- tail [String]
tail r pos returns the string containing all but the pos first characters of r
- tail [String.Cap]
tail r pos returns the string containing all but the pos first characters of r
- take [Enum]
take n e returns the prefix of e of length n, or e
itself if n is greater than the length of e
- take [Seq]
take n s returns up to the n first elements from sequence
s, if available.
- take [Queue]
take q removes and returns the first element in queue q,
or raises Empty if the queue is empty.
- take [Stream]
take n stream returns the prefix of stream of length n, or stream
itself if n is greater than the length of stream
- take [Lazy_list]
take n l returns up to the n first elements from list l, if
available.
- take [List]
take n l returns up to the n first elements from list l, if
available.
- take_while [Enum]
take_while f e produces a new enumeration in which only remain
the first few elements x of e such that f x
- take_while [Enum.Labels]
- take_while [Seq]
take_while f s returns the first elements of sequence s
which satisfy the predicate f.
- take_while [Stream]
take_while test stream returns the longest (possibly empty) prefix of
stream of elements that satisfy test.
- take_while [Lazy_list]
take_while f xs returns the first elements of list xs
which satisfy the predicate f.
- take_while [Lazy_list.Labels]
- take_while [List]
takewhile f xs returns the first elements of list xs
which satisfy the predicate f.
- take_while [List.Labels]
- takewhile [List]
- tan [Standard]
- tan [Float]
- tan [Safe_float]
- tanh [Standard]
The usual hyperbolic trigonometric functions.
- tanh [Float]
The usual hyperbolic trigonometric functions.
- tanh [Safe_float]
The usual hyperbolic trigonometric functions.
- tcdrain [Unix]
Waits until all output written on the given file descriptor
has been transmitted.
- tcflow [Unix]
Suspend or restart reception or transmission of data on
the given file descriptor, depending on the second argument:
TCOOFF suspends output, TCOON restarts output,
TCIOFF transmits a STOP character to suspend input,
and TCION transmits a START character to restart input.
- tcflush [Unix]
Discard data written on the given file descriptor but not yet
transmitted, or data received but not yet read, depending on the
second argument: TCIFLUSH flushes data received but not read,
TCOFLUSH flushes data written but not transmitted, and
TCIOFLUSH flushes both.
- tcgetattr [Unix]
Return the status of the terminal referred to by the given
file descriptor.
- tcsendbreak [Unix]
Send a break condition on the given file descriptor.
- tcsetattr [Unix]
Set the status of the terminal referred to by the given
file descriptor.
- temp_dir_name [Path]
The name of the temporary directory:
Under Unix, the value of the TMPDIR environment variable, or "/tmp"
if the variable is not set.
- temp_file [Path]
temp_file prefix suffix returns the name of a
fresh temporary file in the temporary directory.
- time [Shell]
Return the processor time, in seconds, used by the program
since the beginning of execution.
- time [Unix]
Return the current time since 00:00:00 GMT, Jan.
- times [Unix]
Return the execution times of the process.
- times [Future.Parser_co]
times n p accepts a list of n expressions accepted by p
- titled_formatter [Opt_parse.Formatter]
Creates a titled formatter which is quite similar to the
indented formatter.
- tl [Seq]
Returns the sequence without its first elements or raise
Invalid_argument if the sequence is empty.
- tl [Seq.Exceptionless]
- tl [Ref_list]
Returns a ref list containing the same elements
but without the first one or
raises Empty_list if the ref list is empty
- tl [Lazy_list]
Return the given list without its first element.
- tl [List]
Returns the list without its first elements or raise Empty_list if
the list is empty.
- to_array [Array.Cap]
Return a capability array as an array.
- to_array [Big_array.Array1]
Build a one-dimensional array initialized from the
given big array.
- to_array [Big_array.Array2]
Build a two-dimensional array initialized from the
given big array.
- to_array [Big_array.Array3]
Build a three-dimensional array initialized from the
given big array.
- to_array [Dyn_array]
to_array darr returns the elements of darr in order as an array.
- to_array [Vect]
to_array r returns an array corresponding to the vect r.
- to_array [Lazy_list]
Eager conversion to array.
- to_buffer [Marshal]
Marshal.to_buffer buff ofs len v flags marshals the value v,
storing its byte representation in the string buff,
starting at character number ofs, and writing at most
len characters.
- to_channel [Marshal]
- to_char [UChar]
to_char u returns the Latin-1 representation of u.
- to_container [Vect.Make]
to_container r returns a container corresponding to the vect r.
- to_enum_filter [Future.Genlex]
Apply the lexer to an enum.
- to_float [Bool]
- to_float [Numeric.Numeric]
- to_float [Float]
- to_float [Int]
Convert the given integer to a floating-point number.
- to_float [Int32]
Convert the given 32-bit integer to a floating-point number.
- to_float [Int64]
Convert the given 64-bit integer to a floating-point number.
- to_float [Native_int]
Convert the given native integer to a floating-point number.
- to_float [Num]
- to_float [Safe_float]
- to_float [Safe_int]
Convert the given integer to a floating-point number.
- to_float [Rope]
Returns the float represented by the given rope or
raises Invalid_rope if the rope does not represent a float.
- to_float [String]
Returns the float represented by the given string or
raises Invalid_string if the string does not represent a float.
- to_float [String.Cap]
Returns the float represented by the given string or
raises Invalid_string if the string does not represent a float.
- to_hex [MD5]
Return the printable hexadecimal representation of the given digest.
- to_input_channel [IO]
Create a channel that will read from an input.
- to_int [Bool]
- to_int [Numeric.Discrete]
- to_int [Numeric.Numeric]
- to_int [Big_int]
- to_int [Complex]
- to_int [Float]
- to_int [Int]
- to_int [Int32]
Convert the given 32-bit integer (type int32) to an
integer (type int).
- to_int [Int64]
Convert the given 64-bit integer (type int64) to an
integer (type int).
- to_int [Native_int]
Convert the given native integer (type nativeint) to an
integer (type int).
- to_int [Num]
- to_int [Safe_float]
- to_int [Safe_int]
- to_int [UTF8.Byte]
- to_int [Rope]
Returns the integer represented by the given rope or
raises Invalid_rope if the rope does not represent an integer.
- to_int [UChar]
Alias of uint_code
- to_int [String]
Returns the integer represented by the given string or
raises Invalid_string if the string does not represent an integer.
- to_int [String.Cap]
Returns the integer represented by the given string or
raises Invalid_string if the string does not represent an integer.
- to_int32 [Int64]
Convert the given 64-bit integer (type int64) to a
32-bit integer (type int32).
- to_int32 [Native_int]
Convert the given native integer to a
32-bit integer (type int32).
- to_lazy_list_filter [Future.Genlex]
Apply the lexer to a lazy list.
- to_list [Array]
Array.to_list a returns the list of all the elements of a.
- to_list [Array.Cap]
Array.to_list a returns the list of all the elements of a.
- to_list [Dllist]
Converts a dllist to a normal list.
- to_list [Dyn_array]
to_list darr returns the elements of darr in order as a list.
- to_list [Ref_list]
Returns the current elements as a list - O(1)
- to_list [Vect]
Returns a list with the elements contained in the vect.
- to_list [Vect.Make]
Returns a list with the elements contained in the vect.
- to_list [Lazy_list]
Eager conversion to string.
- to_list [String]
Converts a string to the list of its characters.
- to_list [String.Cap]
Converts a string to the list of its characters.
- to_nativeint [Int64]
Convert the given 64-bit integer (type int64) to a
native integer.
- to_object [Enum]
to_object e returns a representation of e as an object.
- to_option [Future.Result]
Convert a result to an option
- to_stream [Lazy_list]
Lazy conversion to stream.
- to_stream_filter [Future.Genlex]
Apply the lexer to a stream.
- to_string [Exceptions]
Printexc.to_string e returns a string representation of
the exception e.
- to_string [Bool]
- to_string [Numeric.Numeric]
- to_string [Big_int]
- to_string [Complex]
- to_string [Float]
- to_string [Int]
Return the string representation of its argument, in signed decimal.
- to_string [Int32]
Return the string representation of its argument, in signed decimal.
- to_string [Int64]
Return the string representation of its argument, in decimal.
- to_string [Native_int]
Return the string representation of its argument, in decimal.
- to_string [Num]
Convert a number to a string, using fractional notation.
- to_string [Safe_float]
- to_string [Safe_int]
Return the string representation of its argument, in signed decimal.
- to_string [UTF8]
Return an UTF-8 encoded string representing this Unicode string.
- to_string [Rope]
to_string t returns a UTF-8 encoded string representing t
- to_string [String.Cap]
Return a capability string as a regular string.
- to_string [Marshal]
Marshal.to_string v flags returns a string containing
the representation of v as a sequence of bytes.
- to_string [SExpr]
to_string sexp same as to_string_mach.
- to_string [Future.PathGen.PathType]
Convert to type primitive string with UTF-8 content.
- to_string [Future.PathGen.StringType]
Convert to primitive string with UTF-8 content.
- to_string [Extlib.PathGen.PathType]
Convert to type primitive string with UTF-8 content.
- to_string_hum [SExpr]
to_string_hum ?indent sexp converts S-expression sexp to a
string in human readable form with indentation level indent.
- to_string_mach [SExpr]
to_string_mach sexp converts S-expression sexp to a string in
machine readable (i.e.
- to_table [Hashtbl.Cap]
Return a capability hashtable as a regular hashtable.
- to_ustring [Rope]
to_ustring r returns the string corresponding to the rope r.
- to_ustring [Future.PathGen.PathType]
Convert to the chosen ustring type.
- to_ustring [Extlib.PathGen.PathType]
Convert to the chosen ustring type.
- toggle [Bit_set]
toggle s n changes the nth-bit value in the bitset s.
- top [Queue]
top is a synonym for peek.
- top [Stack]
top s returns the topmost element in stack s,
or raises Empty if the stack is empty.
- total_size [Marshal]
- transcode_in [Char_encodings]
Transcoders
- transcode_out [Char_encodings]
Convert the contents of an output between encodings.
- transfer [Queue]
transfer q1 q2 adds all of q1's elements at the end of
the queue q2, then clears q1.
- transform [Ref_list]
transform all elements in the ref list
using a function.
- trim [Rope]
Transformations
- trim [String]
Returns the same string but without the leading and trailing
whitespaces.
- trim [String.Cap]
Returns the same string but without the leading and trailing
whitespaces.
- triple_of_sexp [SExpr]
triple_of_sexp conv1 conv2 conv3 sexp converts S-expression sexp
to a triple of type 'a * 'b * 'c using conversion functions conv1,
conv2, and conv3, which convert S-expressions to values of type
'a, 'b, and 'c respectively.
- truncate [Standard]
- truncate [Obj]
- truncate [Unix]
Truncates the named file to the given size.
- truncate [Unix.LargeFile]
- try_lock [Concurrency.Lock]
- try_lock [Concurrency.BaseLock]
- try_lock [Extlib.Concurrent.Lock]
- try_lock [Mutex]
Same as Threads.Mutex.lock, but does not suspend the calling thread if
the mutex is already locked: just return false immediately
in that case.
- try_lock [RMutex]
Same as Threads.RMutex.lock, but does not suspend the calling thread if
the mutex is already locked: just return false immediately
in that case.
- try_lock [Threads.Mutex]
Same as Threads.Mutex.lock, but does not suspend the calling thread if
the mutex is already locked: just return false immediately
in that case.
- try_lock [Threads.RMutex]
Same as Threads.RMutex.lock, but does not suspend the calling thread if
the mutex is already locked: just return false immediately
in that case.
|
U |
- uchars_of [IO]
offer the characters of an UTF-8 encoded input as an enumeration
- ui16s_of [IO]
Read an enumeration of unsigned 16-bit words.
- ui16s_of [IO.BigEndian]
Read an enumeration of unsigned 16-bit words.
- uint_code [UChar]
uint_code u returns the Unicode code number of u.
- ulines_of [IO]
offer the lines of a UTF-8 encoded input as an enumeration
- umask [Unix]
Set the process's file mode creation mask, and return the previous
mask.
- uncapitalize [Rope]
Return a copy of the argument, with the first character set to lowercase.
- uncapitalize [String]
Return a copy of the argument, with the first character set to lowercase.
- uncapitalize [String.Cap]
Return a copy of the argument, with the first character set to lowercase.
- uncombine [Enum]
uncombine is the opposite of combine
- uncombine [Lazy_list]
Divide a list of pairs into a pair of lists.
- uncompress [Codec.Decompressor]
Wrap an input channel, decompressing transparently data when
reading from it.
- uncompress [GZip]
Wrap an input channel, decompressing transparently data when
reading from it.
- uncurry [Standard]
Convert a function which accepts a two arguments into a function
which accepts a pair of arguments.
- undef [Global]
Reset the global value contents to undefined.
- undefined [Standard]
The undefined function.
- unfold [Enum]
More powerful version of seq, with the ability of hiding data.
- unfold [Enum.Labels]
- unfold [Lazy_list]
unfold data next creates a (possibly infinite) lazy list from
the successive results of applying next to data, then to the
result, etc.
- union [Set.S]
Set union.
- union [Extlib.ExtSet.Set.S]
Set union.
- union [Bit_set]
union s t return the union of sets s and t.
- uniq [Enum]
uniq e returns a duplicate of e with repeated values
omitted.
- unique [Standard]
Returns an unique identifier every time it is called.
- unique [Lazy_list]
Dropping elements
- unique [List]
unique cmp l returns the list l without any duplicate element.
- unit_of_sexp [SExpr]
unit_of_sexp sexp converts S-expression sexp to a value of type
unit.
- unite [Bit_set]
unite s t sets s to the union of the sets s and t.
- unix_perm [File]
Create a permission from a Unix-style octal integer.
- unlink [Unix]
Removes the named file
- unlock [Concurrency.Lock]
- unlock [Concurrency.BaseLock]
- unlock [Extlib.Concurrent.Lock]
- unlock [Mutex]
Unlock the given mutex.
- unlock [RMutex]
Unlock the given mutex.
- unlock [Threads.Mutex]
Unlock the given mutex.
- unlock [Threads.RMutex]
Unlock the given mutex.
- unmarshal [Obj]
- unregister_formatter [Future.Logger]
unregister_formatter name unregisters a named log formatter.
- unsafe_get [Big_array.Array1]
- unsafe_get [Big_array.Array2]
- unsafe_get [Big_array.Array3]
- unsafe_get [Dyn_array]
- unsafe_get [Vect.RANDOMACCESS]
- unsafe_set [Big_array.Array1]
- unsafe_set [Big_array.Array2]
- unsafe_set [Big_array.Array3]
- unsafe_set [Dyn_array]
- unsafe_set [Vect.RANDOMACCESS]
- unset [Bit_set]
unset s n sets the nth-bit in the bitset s to false.
- update_mod [Modules]
- uppercase [Standard]
Return a copy of the argument, with all lowercase letters
translated to uppercase, including accented letters of the ISO
Latin-1 (8859-1) character set.
- uppercase [Char]
Convert the given character to its equivalent uppercase character.
- uppercase [UTF8]
Return a copy of the argument, with all lowercase letters
translated to uppercase.
- uppercase [Rope]
uppercase s returns a uppercase copy of rope s.
- uppercase [UChar]
Convert the given character to its equivalent uppercase
character.
- uppercase [String]
Return a copy of the argument, with all lowercase letters
translated to uppercase, including accented letters of the ISO
Latin-1 (8859-1) character set.
- uppercase [String.Cap]
Return a copy of the argument, with all lowercase letters
translated to uppercase, including accented letters of the ISO
Latin-1 (8859-1) character set.
- uppercase [Future.Char_parser]
Recognizes one upper-case ASCII character, including
accentuated characters.
- uppercase [Future.UChar_parser]
Recognizes one upper-case ASCII character, including
accentuated characters.
- uppercase_latin1 [Future.Char_parser]
Recognizes one upper-case Latin-1 character, including
accentuated characters.
- usage [Arg]
Arg.usage speclist usage_msg prints an error message including
the list of valid options.
- usage [Opt_parse.OptParser]
Display the usage message to the channel chn (default is
Pervasives.stdout) and return.
- user_exec [File]
Give the current user permission to execute the file.
- user_read [File]
Give the current user permission to read the file.
- user_write [File]
Give the current user permission to write the file
- ustring [Future.UChar_parser]
Recognize exactly one string
- utimes [Unix]
Set the last access time (second arg) and last modification time
(third arg) for a file.
|
V |
- validate [UTF8]
validate s succeeds if s is valid UTF-8, otherwise raises
Malformed_code.
- value_option [Opt_parse.Opt]
Make an option which takes a single argument.
- values [Hashtbl.S]
- values [Hashtbl]
Return an enumeration of all the values of a hashtable.
- values [Extlib.ExtHashtbl.Hashtbl.S]
- values [Hashtbl.Cap]
Return an enumeration of all the values of a hashtable.
- values [Map.S]
Return an enumeration of al the values of a map.
- values [Extlib.ExtMap.Map.S]
Return an enumeration of al the values of a map.
- vec_of_sexp [SExpr]
- version [Batteries_config]
- version_option [Opt_parse.StdOpt]
version_option f returns the standard version option which
displays the string returned by f () (and nothing else) on
standard output and exits.
|
W |
- wait [Condition]
wait c m atomically unlocks the mutex m and suspends the
calling process on the condition variable c.
- wait [Threads.Condition]
wait c m atomically unlocks the mutex m and suspends the
calling process on the condition variable c.
- wait [Unix]
Wait until one of the children processes die, and return its pid
and termination status.
- wait_pid [Thread]
wait_pid p suspends the execution of the calling thread
until the process specified by the process identifier p
terminates.
- wait_pid [Threads.Thread]
wait_pid p suspends the execution of the calling thread
until the process specified by the process identifier p
terminates.
- wait_read [Thread]
- wait_read [Threads.Thread]
- wait_signal [Thread]
wait_signal sigs suspends the execution of the calling thread
until the process receives one of the signals specified in the
list sigs.
- wait_signal [Threads.Thread]
wait_signal sigs suspends the execution of the calling thread
until the process receives one of the signals specified in the
list sigs.
- wait_timed_read [Thread]
- wait_timed_read [Threads.Thread]
- wait_timed_write [Thread]
Suspend the execution of the calling thread until at least
one character is available for reading (wait_read) or
one character can be written without blocking (wait_write)
on the given Unix file descriptor.
- wait_timed_write [Threads.Thread]
Suspend the execution of the calling thread until at least
one character is available for reading (wait_read) or
one character can be written without blocking (wait_write)
on the given Unix file descriptor.
- wait_write [Thread]
This function does nothing in this implementation.
- wait_write [Threads.Thread]
This function does nothing in this implementation.
- waitpid [Unix]
Same as Unix.wait, but waits for the child process whose pid is given.
- while_do [Enum]
Trampolining
- whitespace [Future.Char_parser]
Recognizes white-space
- whitespace [Future.UChar_parser]
Recognizes white-space
- whitespaces [Future.Genlex.Languages.Make]
- widen [Oo.Internal]
- with_file_in [File]
with_file_in file_name f opens the file named file_name for reading,
invokes f to process the contents of that file then, once f has returned
or triggered an exception, closes the file before proceeding.
- with_file_out [File]
with_file_out file_name f opens the file named file_name for writing,
invokes f to write onto that file then, once f has returned or triggered
an exception, closes the file before proceeding.
- with_in [Codec.Decompressor]
with_in input f creates a new input input' which will
transparently decompress data from input, then invokes f
input' to process that new input.
- with_in [GZip]
with_in input f creates a new input input' which will
transparently decompress data from input, then invokes f
input' to process that new input.
- with_label [Return]
as label
- with_log [Future.Logger]
with_log logger level event_fun ?result body logs an event
before and after calling body ().
- with_out [Codec.Compressor]
with_out output f first creates a new output output' which will
transparently compress data to output and then invokes f output'.
- with_out [GZip]
with_out output f first creates a new output output' which will
transparently compress data to output and then invokes f output'.
- with_temporary_out [File]
with_temporary_out f opens a new temporary file for writing, invokes f with
to write onto that file then, once f has returned or triggered an exception,
closes the file before proceeding.
- word_size [Shell]
Size of one word on the machine currently executing the Caml
program, in bits: 32 or 64.
- word_size [Batteries_config]
- would_at_fail [Lazy_list]
would_at_fail l n returns true if l contains strictly less
than n elements, false otherwise
- wrap [Event]
wrap ev fn returns the event that performs the same communications
as ev, then applies the post-processing function fn
on the return value.
- wrap [Threads.Event]
wrap ev fn returns the event that performs the same communications
as ev, then applies the post-processing function fn
on the return value.
- wrap [Opt_parse.Formatter]
wrap text width reflows the given text paragraph into lines
of width at most width (lines may exceed this if the are
single words that exceed this limit).
- wrap_abort [Event]
wrap_abort ev fn returns the event that performs
the same communications as ev, but if it is not selected
the function fn is called after the synchronization.
- wrap_abort [Threads.Event]
wrap_abort ev fn returns the event that performs
the same communications as ev, but if it is not selected
the function fn is called after the synchronization.
- wrap_in [IO]
Fully create an input reading from other inputs by giving all
the needed functions.
- wrap_out [IO]
Fully create an output that writes to one or more underlying outputs.
- write [IO]
Write a single char to an output.
- write [Unix]
write fd buff ofs len writes len characters to descriptor
fd, taking them from string buff, starting at position ofs
in string buff.
- write_bits [IO]
Write up to 31 bits represented as a value, raise Bits_error if nbits < 0
or nbits > 31 or the value representation excess nbits.
- write_bitss [IO]
Write an enumeration of bits
- write_buf [IO]
Write the contents of a buffer to an output.
- write_byte [IO]
Write an unsigned 8-bit byte.
- write_bytes [IO]
Write an enumeration of unsigned 8-bit bytes.
- write_bytes [IO.BigEndian]
Write an enumeration of unsigned 8-bit bytes.
- write_chars [IO]
Write an enumeration of chars.
- write_chunks [IO]
Write an enumeration of strings, without appending null characters.
- write_double [IO]
Write an IEEE double precision floating point value.
- write_double [IO.BigEndian]
Write an IEEE double precision floating point value.
- write_doubles [IO]
Write an enumeration of IEEE double precision floating point value.
- write_doubles [IO.BigEndian]
Write an enumeration of IEEE double precision floating point value.
- write_float [IO]
Write an IEEE single precision floating point value.
- write_float [IO.BigEndian]
Write an IEEE single precision floating point value.
- write_i16 [IO]
Write a signed 16-bit word.
- write_i16 [IO.BigEndian]
Write a signed 16-bit word.
- write_i16s [IO]
Write an enumeration of signed 16-bit words.
- write_i16s [IO.BigEndian]
Write an enumeration of signed 16-bit words.
- write_i32 [IO]
Write a signed 32-bit integer.
- write_i32 [IO.BigEndian]
Write a signed 32-bit integer.
- write_i32s [IO]
Write an enumeration of signed 32-bit integers.
- write_i32s [IO.BigEndian]
Write an enumeration of signed 32-bit integers.
- write_i64 [IO]
Write an OCaml int64.
- write_i64 [IO.BigEndian]
Write an OCaml int64.
- write_i64s [IO]
Write an enumeration of OCaml int64s.
- write_i64s [IO.BigEndian]
Write an enumeration of OCaml int64s.
- write_line [IO]
Write a line and append a line end.
- write_lines [IO]
Write an enumeration of lines, appending a LF (it might be converted
to CRLF on some systems depending on the underlying IO).
- write_lines [File]
write_lines name lines writes strings given by lines to file name with newline character appended to each line.
- write_old_option_format [SExpr]
write_old_option_format reference for the default option format
used to write option values.
- write_only [Array.Cap]
Drop to write-only permissions.
- write_only [Hashtbl.Cap]
Drop to write-only permissions.
- write_only [String.Cap]
Drop capabilities to write only.
- write_real_i32 [IO]
Write an OCaml int32.
- write_real_i32 [IO.BigEndian]
Write an OCaml int32.
- write_real_i32s [IO]
Write an enumeration of OCaml int32s.
- write_real_i32s [IO.BigEndian]
Write an enumeration of OCaml int32s.
- write_rope [IO]
Write a character rope onto a UTF-8 encoded output.
- write_ropes [IO]
Write an enumeration of ropes onto a UTF-8 encoded output,
without appending a line-end.
- write_string [IO]
Write a string and append an null character.
- write_strings [IO]
Write an enumeration of strings, appending null characters.
- write_uchar [IO]
Write one uchar to a UTF-8 encoded output.
- write_uchars [IO]
Write an enumeration of characters onto a UTF-8 encoded output.
- write_ui16 [IO]
Write an unsigned 16-bit word.
- write_ui16 [IO.BigEndian]
Write an unsigned 16-bit word.
- write_ui16s [IO]
Write an enumeration of unsigned 16-bit words.
- write_ui16s [IO.BigEndian]
Write an enumeration of unsigned 16-bit words.
- write_uline [IO]
Write one line onto a UTF-8 encoded output.
- write_ulines [IO]
Write an enumeration of lines onto a UTF-8 encoded output.
|
Y |
- yield [Thread]
Re-schedule the calling thread without suspending it.
- yield [Threads.Thread]
Re-schedule the calling thread without suspending it.
|
Z |
- zero [Bool]
- zero [Numeric.Numeric]
- zero [Big_int]
- zero [Complex]
The complex number 0.
- zero [Float]
Floating number zero.
- zero [Int]
The integer 0.
- zero [Int32]
The 32-bit integer 0.
- zero [Int64]
The 64-bit integer 0.
- zero [Native_int]
The native integer 0.
- zero [Num]
Usual operations
- zero [Safe_float]
Floating number zero.
- zero [Safe_int]
The integer 0.
- zero_plus [Future.Parser_co]
Repetitions
|