- 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.