type fpclass = fpclass =
| FP_normal
| FP_subnormal
| FP_zero
| FP_infinite
| FP_nan
type open_flag = open_flag =
| Open_rdonly
| Open_wronly
| Open_append
| Open_creat
| Open_trunc
| Open_excl
| Open_binary
| Open_text
| Open_nonblock
type 'a ref = 'a ref = {
mutable contents : 'a;
}
type ('a, 'b) result = ('a, 'b) result =
| Ok of 'a
| Error of 'b
val output : out_channel -> bytes -> int -> int -> unit
val output_substring : out_channel -> string -> int -> int -> unit
val set_binary_mode_in : in_channel -> bool -> unit
val (^^) :
('a, 'b, 'c, 'd, 'e, 'f) format6 ->
('f, 'b, 'c, 'e, 'g, 'h) format6 ->
('a, 'b, 'c, 'd, 'g, 'h) format6
val bool_of_string_opt : string -> bool option
val int_of_string_opt : string -> int option
val float_of_string_opt : string -> float option
val read_int_opt : unit -> int option
val read_float_opt : unit -> float option
val raise_notrace : exn -> 'a
val __POS__ : string * int * int * int
val __LOC_OF__ : 'a -> string * 'a
val __LINE_OF__ : 'a -> int * 'a
val __POS_OF__ : 'a -> (string * int * int * int) * 'a
external __POS_OF__ : 'a -> ((string * int * int * int) * 'a) = "%loc_POS"
val print_bytes : bytes -> unit
val prerr_bytes : bytes -> unit
val (|>) : 'a -> ('a -> 'b) -> 'b
val (@@) : ('a -> 'b) -> 'a -> 'b
val hypot : float -> float -> float
external hypot : float -> float -> float = "caml_hypot_float" "caml_hypot"@@unboxed
@@noalloc
external hypot : float -> float -> float = "caml_hypot_float" "caml_hypot" "float"
val copysign : float -> float -> float
external copysign : float -> float -> float = "caml_copysign_float" "caml_copysign" @@unboxed
@@noalloc
external copysign : float -> float -> float = "caml_copysign_float" "caml_copysign" "float"
val (~+.) : float -> float
val expm1 : float -> float
external expm1 : float -> float = "caml_expm1_float" "caml_expm1" @@unboxed
@@noalloc
external expm1 : float -> float = "caml_expm1_float" "caml_expm1" "float"
val log1p : float -> float
external log1p : float -> float = "caml_log1p_float" "caml_log1p" @@unboxed
@@noalloc
external log1p : float -> float = "caml_log1p_float" "caml_log1p" "float"
val invalid_arg : string -> 'a
val failwith : string -> 'a
val (=) : 'a -> 'a -> bool
val (<>) : 'a -> 'a -> bool
val (<) : 'a -> 'a -> bool
val (>) : 'a -> 'a -> bool
val (<=) : 'a -> 'a -> bool
val (>=) : 'a -> 'a -> bool
val compare : 'a -> 'a -> int
val (==) : 'a -> 'a -> bool
val (!=) : 'a -> 'a -> bool
val (&&) : bool -> bool -> bool
external (&) : bool -> bool -> bool = "%sequand"@@ocaml.deprecated
"Use (&&) instead."
val (||) : bool -> bool -> bool
external (or) : bool -> bool -> bool = "%sequor"@@ocaml.deprecated
"Use (||) instead."
val (+) : int -> int -> int
val (-) : int -> int -> int
val (*) : int -> int -> int
val (/) : int -> int -> int
val (mod) : int -> int -> int
val (land) : int -> int -> int
val (lor) : int -> int -> int
val (lxor) : int -> int -> int
val (lsl) : int -> int -> int
val (lsr) : int -> int -> int
val (asr) : int -> int -> int
val (~-.) : float -> float
val (+.) : float -> float -> float
val (-.) : float -> float -> float
val (*.) : float -> float -> float
val (/.) : float -> float -> float
val (**) : float -> float -> float
external ( ** ) : float -> float -> float = "caml_power_float" "pow" @@unboxed
@@noalloc
external ( ** ) : float -> float -> float = "caml_power_float" "pow" "float"
external ( ** ) : float -> float -> float = "power_float" "pow" "float"
val sqrt : float -> float
external sqrt : float -> float = "caml_sqrt_float" "sqrt"@@unboxed
@@noalloc
external sqrt : float -> float = "caml_sqrt_float" "sqrt" "float"
external exp : float -> float = "caml_exp_float" "exp"@@unboxed
@@noalloc
external log : float -> float = "caml_log_float" "log"@@unboxed
@@noalloc
val log10 : float -> float
external log10 : float -> float = "caml_log10_float" "log10"@@unboxed
@@noalloc
external log10 : float -> float = "caml_log10_float" "log10" "float"
external log10 : float -> float = "log10_float" "log10" "float"
external cos : float -> float = "caml_cos_float" "cos"@@unboxed
@@noalloc
external sin : float -> float = "caml_sin_float" "sin"@@unboxed
@@noalloc
external tan : float -> float = "caml_tan_float" "tan"@@unboxed
@@noalloc
val acos : float -> float
external acos : float -> float = "caml_acos_float" "acos"@@unboxed
@@noalloc
external acos : float -> float = "caml_acos_float" "acos" "float"
val asin : float -> float
external asin : float -> float = "caml_asin_float" "asin"@@unboxed
@@noalloc
external asin : float -> float = "caml_asin_float" "asin" "float"
val atan : float -> float
external atan : float -> float = "caml_atan_float" "atan"@@unboxed
@@noalloc
external atan : float -> float = "caml_atan_float" "atan" "float"
val atan2 : float -> float -> float
external atan2 : float -> float -> float = "caml_atan2_float" "atan2" @@unboxed
@@noalloc
external atan2 : float -> float -> float = "caml_atan2_float" "atan2" "float"
external atan2 : float -> float -> float = "atan2_float" "atan2" "float"
val cosh : float -> float
external cosh : float -> float = "caml_cosh_float" "cosh"@@unboxed
@@noalloc
external cosh : float -> float = "caml_cosh_float" "cosh" "float"
val sinh : float -> float
external sinh : float -> float = "caml_sinh_float" "sinh"@@unboxed
@@noalloc
external sinh : float -> float = "caml_sinh_float" "sinh" "float"
val tanh : float -> float
external tanh : float -> float = "caml_tanh_float" "tanh"@@unboxed
@@noalloc
external tanh : float -> float = "caml_tanh_float" "tanh" "float"
val ceil : float -> float
external ceil : float -> float = "caml_ceil_float" "ceil"@@unboxed
@@noalloc
external ceil : float -> float = "caml_ceil_float" "ceil" "float"
val floor : float -> float
external floor : float -> float = "caml_floor_float" "floor"@@unboxed
@@noalloc
external floor : float -> float = "caml_floor_float" "floor" "float"
external floor : float -> float = "floor_float" "floor" "float"
val abs_float : float -> float
val mod_float : float -> float -> float
external mod_float : float -> float -> float = "caml_fmod_float" "fmod" @@unboxed
@@noalloc
external mod_float : float -> float -> float = "caml_fmod_float" "fmod" "float"
external mod_float : float -> float -> float = "fmod_float" "fmod" "float"
val frexp : float -> float * int
external frexp : float -> (float * int) = "caml_frexp_float"
val ldexp : float -> int -> float
external ldexp : ((float)@unboxed
) -> ((int)@untagged
) -> ((float)@unboxed
) = "caml_ldexp_float" "caml_ldexp_float_unboxed"@@noalloc
val modf : float -> float * float
external modf : float -> (float * float) = "caml_modf_float"
val float_of_int : int -> float
val truncate : float -> int
val int_of_float : float -> int
val epsilon_float : float
val classify_float : float -> fpclass
external classify_float : ((float)@unboxed
) -> fpclass = "caml_classify_float" "caml_classify_float_unboxed"@@noalloc
external classify_float : float -> fpclass = "caml_classify_float"
val (^) : string -> string -> string
val int_of_char : char -> int
val char_of_int : int -> char
val string_of_bool : bool -> string
val bool_of_string : string -> bool
val string_of_int : int -> string
val int_of_string : string -> int
external int_of_string : string -> int = "caml_int_of_string"
val string_of_float : float -> string
val float_of_string : string -> float
external float_of_string : string -> float = "caml_float_of_string"
val fst : ('a * 'b) -> 'a
val snd : ('a * 'b) -> 'b
val (@) : 'a list -> 'a list -> 'a list
val print_char : char -> unit
val print_string : string -> unit
val print_int : int -> unit
val print_float : float -> unit
val print_endline : string -> unit
val print_newline : unit -> unit
val prerr_char : char -> unit
val prerr_string : string -> unit
val prerr_int : int -> unit
val prerr_float : float -> unit
val prerr_endline : string -> unit
val prerr_newline : unit -> unit
val read_line : unit -> string
val read_int : unit -> int
val read_float : unit -> float
val flush_all : unit -> unit
val (:=) : 'a ref -> 'a -> unit
val incr : int ref -> unit
val decr : int ref -> unit
external format_of_string : ('a, 'b, 'c, 'd, 'e, 'f) format6 -> ('a, 'b, 'c, 'd, 'e, 'f) format6 = "%identity"
external format_of_string : ('a, 'b, 'c, 'd) format4 -> ('a, 'b, 'c, 'd) format4 = "%identity"
val at_exit : (unit -> unit) -> unit
val valid_float_lexem : string -> string
val do_at_exit : unit -> unit
Alias for Stdlib>.do_at_exit
val acosh : float -> float
val asinh : float -> float
val atanh : float -> float
module Array : sig ... end
module Bool : sig ... end
module Bytes : sig ... end
Registering OCaml values with the C runtime.
module Char : sig ... end
module Float : sig ... end
module Gc : module type of struct include Gc end
Memory management control and statistics; finalised values.
module Int32 : sig ... end
module Int64 : sig ... end
module Lazy : sig ... end
module List : sig ... end
module Obj : module type of struct include Obj end
Operations on internal representations of values.
module Oo : module type of struct include Oo end
The run-time library for parsers generated by ocamlyacc
.
module Queue : sig ... end
module Scanf : module type of struct include Scanf end
Formatted input functions.
module Stack : sig ... end
module Uchar : sig ... end
module Unit : sig ... end
module Weak : sig ... end