Up – melange » Stdlib » Pervasiveslet raise_notrace: exn => 'a ;
let invalid_arg: string => 'a ;
let failwith: string => 'a ;
let (=): 'a => 'a => bool;
let (<>): 'a => 'a => bool;
let (<): 'a => 'a => bool;
let (>): 'a => 'a => bool;
let (<=): 'a => 'a => bool;
let (>=): 'a => 'a => bool;
let compare: 'a => 'a => int;
let (==): 'a => 'a => bool;
let (!=): 'a => 'a => bool;
let (&&): bool => bool => bool;
let (&): bool => bool => bool;
let (||): bool => bool => bool;
let or: bool => bool => bool;
let __POS__: (string, int, int, int) ;
let __LOC_OF__: 'a => (string, 'a ) ;
let __LINE_OF__: 'a => (int, 'a ) ;
let __POS_OF__: 'a => ((string, int, int, int) , 'a ) ;
let (|>): 'a => ('a => 'b ) => 'b ;
let (@@): ('a => 'b ) => 'a => 'b ;
let (+): int => int => int;
let (-): int => int => int;
let (*): int => int => int;
let (/): int => int => int;
let (mod): int => int => int;
let (land): int => int => int;
let (lor): int => int => int;
let (lxor): int => int => int;
let (lsl): int => int => int;
let (lsr): int => int => int;
let (asr): int => int => int;
let (~-.): float => float;
let (~+.): float => float;
let (+.): float => float => float;
let (-.): float => float => float;
let (*.): float => float => float;
let (/.): float => float => float;
let (**): float => float => float;
let acos: float => float;
let asin: float => float;
let atan: float => float;
let atan2: float => float => float;
let hypot: float => float => float;
let cosh: float => float;
let acosh: float => float;
let log10: float => float;
let log1p: float => float;
let sinh: float => float;
let asinh: float => float;
let sqrt: float => float;
let tanh: float => float;
let atanh: float => float;
let ceil: float => float;
let floor: float => float;
let abs_float: float => float;
let copysign: float => float => float;
let mod_float: float => float => float;
let frexp: float => (float, int) ;
let ldexp: float => int => float;
let modf: float => (float, float) ;
let float_of_int: int => float;
let truncate: float => int;
let int_of_float: float => int;
let epsilon_float: float;
type nonrec fpclass = fpclass =
| FP_normal
| FP_subnormal
| FP_zero
| FP_infinite
| FP_nan
;
let classify_float: float => fpclass ;
let (^): string => string => string;
let int_of_char: char => int;
let char_of_int: int => char;
let string_of_bool: bool => string;
let bool_of_string: string => bool;
let bool_of_string_opt: string => option(bool);
let string_of_int: int => string;
let int_of_string: string => int;
let int_of_string_opt: string => option(int);
let string_of_float: float => string;
let float_of_string: string => float;
let float_of_string_opt: string => option(float);
let (@): list('a ) => list('a ) => list('a );
let print_char: char => unit;
let print_string: string => unit;
let print_bytes: bytes => unit;
let print_int: int => unit;
let print_float: float => unit;
let print_endline: string => unit;
let print_newline: unit => unit;
let prerr_char: char => unit;
let prerr_string: string => unit;
let prerr_bytes: bytes => unit;
let prerr_int: int => unit;
let prerr_float: float => unit;
let prerr_endline: string => unit;
let prerr_newline: unit => unit;
let read_line: unit => string;
let read_int: unit => int;
let read_int_opt: unit => option(int);
let read_float: unit => float;
let read_float_opt: unit => option(float);
type nonrec open_flag = open_flag =
| Open_rdonly
| Open_wronly
| Open_append
| Open_creat
| Open_trunc
| Open_excl
| Open_binary
| Open_text
| Open_nonblock
;
let flush_all: unit => unit;
let output: out_channel => bytes => int => int => unit;
let output_substring: out_channel => string => int => int => unit;
let set_binary_mode_in: in_channel => bool => unit;
type nonrec ref('a) = ref ('a ) = {
mutable contents: 'a ,
} ;
let (:=): ref ('a ) => 'a => unit;
let incr: ref (int) => unit;
let decr: ref (int) => unit;
type nonrec result('a, 'b) = result ('a , 'b ) =
| Ok ('a )
| Error ('b )
;
let (^^):
format6 ('a , 'b , 'c , 'd , 'e , 'f ) =>
format6 ('f , 'b , 'c , 'e , 'g , 'h ) =>
format6 ('a , 'b , 'c , 'd , 'g , 'h ) ;
let at_exit: (unit => unit) => unit;
let valid_float_lexem: string => string;
let do_at_exit: unit => unit;