'a * 'b -> 'a |
fst |
'a * 'b -> 'b |
snd |
'a -> 'a -> 'a |
max, min |
'a -> 'a -> bool |
(!=), (<), (<=), (<>), (=), (==), (>), (>=) |
'a -> 'a -> int |
compare |
'a -> 'a list -> bool |
List.mem, List.memq |
'a -> 'a ref |
ref |
'a -> ('a * 'b) list -> 'b |
List.assoc, List.assq |
'a -> ('a * 'b) list -> ('a * 'b) list |
List.remove_assoc, List.remove_assq |
'a -> ('a * 'b) list -> bool |
List.mem_assoc, List.mem_assq |
'a -> unit |
ignore |
'a array -> 'a array |
Array.copy |
'a array -> 'a array -> 'a array |
Array.append |
'a array -> 'a list |
Array.to_list |
'a array -> int |
Array.length |
'a array -> int -> 'a |
Array.get, Array.unsafe_get |
'a array -> int -> 'a -> unit |
Array.set, Array.unsafe_set |
'a array -> pos:int -> len:int -> 'a -> unit |
Array.fill |
'a array -> pos:int -> len:int -> 'a array |
Array.sub |
'a array list -> 'a array |
Array.concat |
'a list -> 'a |
List.hd |
'a list -> 'a array |
Array.of_list |
'a list -> 'a list |
List.rev, List.tl |
'a list -> 'a list -> 'a list |
List.append, List.rev_append, (@) |
'a list -> 'b list -> ('a * 'b) list |
List.combine |
'a list -> int |
List.length |
'a list -> int -> 'a |
List.nth |
'a list list -> 'a list |
List.concat, List.flatten |
'a ref -> 'a |
(!) |
('a * 'b) list -> 'a list * 'b list |
List.split |
(unit -> unit) -> unit |
at_exit |
=) : 'a ref -> 'a -> unit |
( |
bool -> bool |
not |
bool -> bool -> bool |
(&&), (&), (or), (||) |
bool -> string |
string_of_bool |
char -> char |
Char.lowercase, Char.uppercase |
char -> int |
Char.code, int_of_char |
char -> string |
Char.escaped |
char -> unit |
prerr_char, print_char |
cmp:('a -> 'a -> int) -> 'a array -> unit |
Array.sort, Array.stable_sort |
cmp:('a -> 'a -> int) -> 'a list -> 'a list |
List.sort, List.stable_sort |
dimx:int -> dimy:int -> 'a -> 'a array array |
Array.create_matrix, Array.make_matrix |
exn -> 'a |
raise |
f:('a -> 'b -> 'a) -> init:'a -> 'b array -> 'a |
Array.fold_left |
f:('a -> 'b -> 'a) -> init:'a -> 'b list -> 'a |
List.fold_left |
f:('a -> 'b -> 'b) -> 'a list -> init:'b -> 'b |
List.fold_right |
f:('a -> 'b -> 'c) -> 'a list -> 'b list -> 'c list |
List.map2, List.rev_map2 |
f:('a -> 'b -> bool) -> 'a list -> 'b list -> bool |
List.exists2, List.for_all2 |
f:('a -> 'b -> unit) -> 'a list -> 'b list -> unit |
List.iter2 |
f:('a -> 'b) -> 'a array -> 'b array |
Array.map |
f:('a -> 'b) -> 'a list -> 'b list |
List.map, List.rev_map |
f:('a -> bool) -> 'a list -> 'a |
List.find |
f:('a -> bool) -> 'a list -> 'a list |
List.filter, List.find_all |
f:('a -> bool) -> 'a list -> 'a list * 'a list |
List.partition |
f:('a -> bool) -> 'a list -> bool |
List.exists, List.for_all |
f:('a -> unit) -> 'a array -> unit |
Array.iter |
f:('a -> unit) -> 'a list -> unit |
List.iter |
f:('b -> 'a -> 'a) -> 'b array -> init:'a -> 'a |
Array.fold_right |
f:(int -> 'a -> 'b) -> 'a array -> 'b array |
Array.mapi |
f:(int -> 'a -> unit) -> 'a array -> unit |
Array.iteri |
float |
infinity, nan, neg_infinity |
float -> float |
(~-.), abs_float |
float -> float * float |
modf |
float -> float * int |
frexp |
float -> float -> float |
(+.), (-.), (/.) |
float -> fpclass |
classify_float |
float -> int |
int_of_float, truncate |
float -> int -> float |
ldexp |
float -> string |
string_of_float |
float -> unit |
prerr_float, print_float |
in_channel |
stdin |
in_channel -> 'a |
input_value |
in_channel -> bool -> unit |
set_binary_mode_in |
in_channel -> buf:string -> pos:int -> len:int -> int |
input |
in_channel -> buf:string -> pos:int -> len:int -> unit |
really_input |
in_channel -> char |
input_char |
in_channel -> int |
in_channel_length, input_binary_int, input_byte, pos_in |
in_channel -> int -> unit |
seek_in |
in_channel -> string |
input_line |
in_channel -> string -> int -> int -> unit |
unsafe_really_input |
in_channel -> unit |
close_in |
int |
max_int, min_int |
int -> 'a |
exit |
int -> 'a -> 'a array |
Array.create, Array.make |
int -> char |
Char.chr, char_of_int |
int -> char |
Char.unsafe_chr |
int -> char -> string |
String.make |
int -> f:(int -> 'a) -> 'a array |
Array.init |
int -> float |
float, float_of_int |
int -> int |
abs, lnot |
int -> int |
(~-), pred, succ |
int -> int -> int |
(+), (-), (/), (asr), (land), (lor), (lsl), (lsr), (lxor), (mod) |
int -> string |
string_of_int |
int -> string |
String.create |
int -> unit |
prerr_int, print_int |
int ref -> unit |
decr, incr |
mode:open_flag list -> perm:int -> string -> in_channel |
open_in_gen |
mode:open_flag list -> perm:int -> string -> out_channel |
open_out_gen |
order:('a -> 'a -> bool) -> 'a array -> unit |
Sort.array |
order:('a -> 'a -> bool) -> 'a list -> 'a list |
Sort.list |
order:('a -> 'a -> bool) -> 'a list -> 'a list -> 'a list |
Sort.merge |
out_channel |
stderr, stdout |
out_channel -> 'a -> unit |
output_value |
out_channel -> bool -> unit |
set_binary_mode_out |
out_channel -> buf:string -> pos:int -> len:int -> unit |
output |
out_channel -> char -> unit |
output_char |
out_channel -> int |
out_channel_length, pos_out |
out_channel -> int -> unit |
output_binary_int, output_byte, seek_out |
out_channel -> string -> unit |
output_string |
out_channel -> unit |
close_out, flush |
sep:string -> string list -> string |
String.concat |
string -> 'a |
failwith, invalid_arg |
string -> bool |
bool_of_string |
string -> char -> bool |
String.contains |
string -> char -> int |
String.index, String.rindex |
string -> float |
float_of_string |
string -> in_channel |
open_in, open_in_bin |
string -> int |
int_of_string, String.length |
string -> int -> char |
String.get, String.unsafe_get |
string -> int -> char -> bool |
String.contains_from, String.rcontains_from |
string -> int -> char -> int |
String.index_from, String.rindex_from |
string -> int -> char -> unit |
String.set, String.unsafe_set |
string -> out_channel |
open_out, open_out_bin |
string -> pos:int -> len:int -> char -> unit |
String.fill |
string -> pos:int -> len:int -> string |
String.sub |
string -> string |
String.capitalize, String.copy, String.escaped, String.lowercase, String.uncapitalize, String.uppercase |
string -> string -> string |
(^) |
string -> unit |
prerr_endline, prerr_string, print_endline, print_string |
unit -> float |
read_float |
unit -> int |
read_int |
unit -> string |
read_line |
unit -> unit |
do_at_exit, prerr_newline, print_newline |