Index of values


A
add_exn_converter [Conv]
add_exn_converter sexp_of_exn registers exception S-expression converter sexp_of_exn and returns a handle.
array_of_sexp [Conv]
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.

B
big_int_of_sexp [Conv]
big_int_of_sexp sexp converts S-expression sexp to a value of type Big_int.big_int.
bool_of_sexp [Conv]
bool_of_sexp sexp converts S-expression sexp to a value of type bool.

C
char_of_sexp [Conv]
char_of_sexp sexp converts S-expression sexp to a value of type char.

D
default_indent [Sexp_intf.S]
default_indent reference to default indentation level for human-readable conversions.
default_string_of_float [Conv]
default_string_of_float reference to the default function used to convert floats to strings.
del_exn_converter [Conv]
del_exn_converter handle unregisters exception S-expression converter with handle handle.

E
extract_match [Path]
extract_match tag n sexp
extract_pos [Path]
extract_pos n sexp
extract_rec [Path]
extract_rec name sexp

F
float32_mat_of_sexp [Conv]
float32_mat_of_sexp sexp converts S-expression sexp to a two-dimensional bigarray of 32-bit floats in Fortran-layout.
float32_vec_of_sexp [Conv]
float32_vec_of_sexp sexp converts S-expression sexp to a one-dimensional bigarray of 32-bit floats in Fortran-layout.
float64_mat_of_sexp [Conv]
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 [Conv]
float64_vec_of_sexp sexp converts S-expression sexp to a one-dimensional bigarray of 64-bit floats in Fortran-layout.
float_of_sexp [Conv]
float_of_sexp sexp converts S-expression sexp to a value of type float.
fun_of_sexp [Conv]
fun_of_sexp sexp

G
get [Path]
get ?path ?str sexp if path is provided, use it as path.

H
hashtbl_of_sexp [Conv]
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.

I
input_rev_sexps [Sexp_intf.S]
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 [Sexp_intf.S]
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 [Sexp_intf.S]
input_sexps ?text_line ?text_char ?buf_pos ??buf ic parses whitespace separated S-expressions from input channel ic until EOF is reached.
int32_of_sexp [Conv]
int32_of_sexp sexp converts S-expression sexp to a value of type int32.
int64_of_sexp [Conv]
int64_of_sexp sexp converts S-expression sexp to a value of type int64.
int_of_sexp [Conv]
int_of_sexp sexp converts S-expression sexp to a value of type int.

L
lazy_of_sexp [Conv]
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.
list_of_sexp [Conv]
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.
load_rev_sexps [Sexp_intf.S]
load_rev_sexps file same as Sexp.load_sexps, but returns a reversed list of S-expressions, which is slightly more efficient.
load_sexp [Sexp_intf.S]
load_sexp ?buf file reads one S-expression from file file using buffer buf for storing intermediate data.
load_sexps [Sexp_intf.S]
load_sexps file reads a list of whitespace separated S-expressions from file file using buffer buf for storing intermediate data.

M
mat_of_sexp [Conv]
mat_of_sexp sexp same as Conv.float64_mat_of_sexp.

N
nat_of_sexp [Conv]
nat_of_sexp sexp converts S-expression sexp to a value of type Nat.nat.
nativeint_of_sexp [Conv]
nativeint_of_sexp sexp converts S-expression sexp to a value of type nativeint.
num_of_sexp [Conv]
num_of_sexp sexp converts S-expression sexp to a value of type Nat.num.

O
of_bstr [Sexp_intf.S]
of_bstr bstr same as Sexp_intf.S.of_string, but operates on bigstrings.
of_sexp_error [Conv]
of_sexp_error reason sexp
of_string [Sexp_intf.S]
of_string str converts string str to an S-expression.
of_string__of__of_sexp [Conv]
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.
opaque_of_sexp [Conv]
opaque_of_sexp sexp
option_of_sexp [Conv]
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.
output [Sexp_intf.S]
output oc sexp same as output_mach.
output_hum [Sexp_intf.S]
output_hum oc sexp outputs S-expression sexp to output channel oc in human readable form.
output_hum_indent [Sexp_intf.S]
output_hum_indent indent oc sexp outputs S-expression sexp to output channel oc in human readable form using indentation level indent.
output_mach [Sexp_intf.S]
output_mach oc sexp outputs S-expression sexp to output channel oc in machine readable (i.e.

P
pair_of_sexp [Conv]
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.
parse [Sexp_intf.S]
parse ?text_line ?text_char ?pos ?len str (partially) parses an S-expression in string buffer str starting at position pos and reading at most len characters.
parse [Path]
parse str
parse_bstr [Sexp_intf.S]
parse_bstr ?text_line ?text_char ?pos ?len str same as Sexp_intf.S.parse, but operates on bigstrings.
pp [Sexp_intf.S]
pp ppf sexp same as pp_mach.
pp_hum [Sexp_intf.S]
pp_hum ppf sexp outputs S-expression sexp to formatter ppf in human readable form.
pp_hum_indent [Sexp_intf.S]
pp_hum_indent n ppf sexp outputs S-expression sexp to formatter ppf in human readable form and indentation level n.
pp_mach [Sexp_intf.S]
pp_mach ppf sexp outputs S-expression sexp to formatter ppf in machine readable (i.e.

R
ratio_of_sexp [Conv]
ratio_of_sexp sexp converts S-expression sexp to a value of type Nat.ratio.
read_old_option_format [Conv]
read_old_option_format reference for the default option format used to read option values.
record_check_extra_fields [Conv]
record_check_extra_fields checks for extra (= unknown) fields in record S-expressions.
ref_of_sexp [Conv]
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.
replace [Path]
replace ?path ?str sexp ~subst like get, but does not extract a sub-expression but substitutes it with subst.
replace_no_path [Path]
replace_no_path ~str sexp ~subst like replace, but does not take optional arguments.

S
save [Sexp_intf.S]
save file sexp same as save_mach.
save_hum [Sexp_intf.S]
save_hum file sexp outputs S-expression sexp to file file in human readable form.
save_mach [Sexp_intf.S]
save_mach file sexp outputs S-expression sexp to file file in machine readable (i.e.
save_sexps [Sexp_intf.S]
save_sexps file sexps outputs S-expression list sexps to file file in machine readable form, each sexp is followed by a newlnie.
scan_cnv_sexps [Sexp_intf.S]
scan_cnv_sexps ?buf ~f lexbuf maps all whitespace separated S-expressions scanned from lex buffer lexbuf to some list using function f, and the optional string buffer buf for storing intermediate strings.
scan_fold_sexps [Sexp_intf.S]
scan_fold_sexps ?buf ~f ~init lexbuf folds over all whitespace separated S-expressions scanned from lex buffer lexbuf using function f, initial state init, and the optional string buffer buf for storing intermediate strings.
scan_iter_sexps [Sexp_intf.S]
scan_iter_sexps ?buf ~f lexbuf iterates over all whitespace separated S-expressions scanned from lex buffer lexbuf using function f, and the optional string buffer buf for storing intermediate strings.
scan_sexp [Sexp_intf.S]
scan_sexp ?buf lexbuf scans an S-expression from lex buffer lexbuf using the optional string buffer buf for storing intermediate strings.
scan_sexps [Sexp_intf.S]
scan_sexps ?buf lexbuf reads a list of whitespace separated S-expressions from lex buffer lexbuf using the optional string buffer buf for storing intermediate strings.
search_physical [Sexp_intf.S]
search_physical sexp ~contained
sexp_of_array [Conv]
sexp_of_array conv ar converts the value ar of type 'a array to an S-expression.
sexp_of_big_int [Conv]
sexp_of_big_int n converts the value n of type Big_int.big_int to an S-expression.
sexp_of_bigstring [Conv]
sexp_of_bigstring bstr converts a bigstring (character bigarray in C-layout) to an S-expression.
sexp_of_bool [Conv]
sexp_of_bool b converts the value x of type bool to an S-expression.
sexp_of_char [Conv]
sexp_of_char c converts the value c of type char to an S-expression.
sexp_of_exn [Conv]
sexp_of_exn exc converts exception exc to an S-expression.
sexp_of_float [Conv]
sexp_of_float n converts the value n of type float to an S-expression.
sexp_of_float32_mat [Conv]
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 [Conv]
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 [Conv]
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 [Conv]
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 [Conv]
sexp_of_fun f converts the value f of function type to an S-expression.
sexp_of_hashtbl [Conv]
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 [Conv]
sexp_of_int n converts the value n of type int to an S-expression.
sexp_of_int32 [Conv]
sexp_of_int32 n converts the value n of type int32 to an S-expression.
sexp_of_int64 [Conv]
sexp_of_int64 n converts the value n of type int64 to an S-expression.
sexp_of_lazy [Conv]
sexp_of_ref conv l converts the value l of type 'a lazy_t to an S-expression.
sexp_of_list [Conv]
sexp_of_list conv lst converts the value lst of type 'a list to an S-expression.
sexp_of_mat [Conv]
sexp_of_mat mat same as Conv.sexp_of_float64_mat.
sexp_of_nat [Conv]
sexp_of_nat n converts the value n of type Nat.nat to an S-expression.
sexp_of_nativeint [Conv]
sexp_of_nativeint n converts the value n of type nativeint to an S-expression.
sexp_of_num [Conv]
sexp_of_num n converts the value n of type Num.num to an S-expression.
sexp_of_opaque [Conv]
sexp_of_opaque x converts the value x of opaque type to an S-expression.
sexp_of_option [Conv]
sexp_of_option conv opt converts the value opt of type 'a option to an S-expression.
sexp_of_pair [Conv]
sexp_of_pair conv1 conv2 pair converts a pair to an S-expression.
sexp_of_ratio [Conv]
sexp_of_ratio n converts the value n of type Ratio.ratio to an S-expression.
sexp_of_ref [Conv]
sexp_of_ref conv r converts the value r of type 'a ref to an S-expression.
sexp_of_string [Conv]
sexp_of_bool str converts the value str of type string to an S-expression.
sexp_of_t [Sexp_intf.S]
sexp_of_t sexp maps S-expressions which are part of a type with automated S-expression conversion to themselves.
sexp_of_triple [Conv]
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 [Conv]
sexp_of_unit () converts a value of type unit to an S-expression.
sexp_of_vec [Conv]
sexp_of_vec vec same as Conv.sexp_of_float64_vec.
size [Sexp_intf.S]
size sexp
string_of__of__sexp_of [Conv]
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_sexp [Conv]
string_of_sexp sexp converts S-expression sexp to a value of type string.
subst_found [Sexp_intf.S]
subst_found sexp ~subst found
subst_path [Path]
subst_path sexp path

T
t_of_sexp [Sexp_intf.S]
t_of_sexp sexp maps S-expressions which are part of a type with automated S-expression conversion to themselves.
to_buffer [Sexp_intf.S]
to_buffer ~buf sexp same as Sexp_intf.S.to_buffer_mach.
to_buffer_hum [Sexp_intf.S]
to_buffer_hum ~buf ?indent sexp outputs the S-expression sexp converted to a string in human readable form to buffer buf.
to_buffer_mach [Sexp_intf.S]
to_buffer_mach ~buf sexp outputs the S-expression sexp converted to a string in machine readable (i.e.
to_string [Sexp_intf.S]
to_string sexp same as to_string_mach.
to_string_hum [Sexp_intf.S]
to_string_hum ?indent sexp converts S-expression sexp to a string in human readable form with indentation level indent.
to_string_mach [Sexp_intf.S]
to_string_mach sexp converts S-expression sexp to a string in machine readable (i.e.
triple_of_sexp [Conv]
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.

U
unit [Sexp_intf.S]
unit the unit-value as expressed by an S-expression.
unit_of_sexp [Conv]
unit_of_sexp sexp converts S-expression sexp to a value of type unit.

V
vec_of_sexp [Conv]
vec_of_sexp sexp same as Conv.float64_vec_of_sexp.

W
write_old_option_format [Conv]
write_old_option_format reference for the default option format used to write option values.