Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Source file pervasives.ml
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244(**************************************************************************)(* *)(* OCaml *)(* *)(* Jeremie Dimino, Jane Street Europe *)(* *)(* Copyright 2017 Jane Street Group LLC *)(* *)(* All rights reserved. This file is distributed under the terms of *)(* the GNU Lesser General Public License version 2.1, with the *)(* special exception on linking described in the file LICENSE. *)(* *)(**************************************************************************)(** @deprecated Use {!Stdlib} *)externalraise:exn->'a="%raise"externalraise_notrace:exn->'a="%raise_notrace"letinvalid_arg=invalid_argletfailwith=failwithexceptionExitexternal(=):'a->'a->bool="%equal"external(<>):'a->'a->bool="%notequal"external(<):'a->'a->bool="%lessthan"external(>):'a->'a->bool="%greaterthan"external(<=):'a->'a->bool="%lessequal"external(>=):'a->'a->bool="%greaterequal"externalcompare:'a->'a->int="%compare"letmin=minletmax=maxexternal(==):'a->'a->bool="%eq"external(!=):'a->'a->bool="%noteq"externalnot:bool->bool="%boolnot"external(&&):bool->bool->bool="%sequand"external(&):bool->bool->bool="%sequand"[@@ocaml.deprecated"Use (&&) instead."]external(||):bool->bool->bool="%sequor"external(or):bool->bool->bool="%sequor"[@@ocaml.deprecated"Use (||) instead."]external__LOC__:string="%loc_LOC"external__FILE__:string="%loc_FILE"external__LINE__:int="%loc_LINE"external__MODULE__:string="%loc_MODULE"external__POS__:string*int*int*int="%loc_POS"external__LOC_OF__:'a->string*'a="%loc_LOC"external__LINE_OF__:'a->int*'a="%loc_LINE"external__POS_OF__:'a->(string*int*int*int)*'a="%loc_POS"external(|>):'a->('a->'b)->'b="%revapply"external(@@):('a->'b)->'a->'b="%apply"external(~-):int->int="%negint"external(~+):int->int="%identity"externalsucc:int->int="%succint"externalpred:int->int="%predint"external(+):int->int->int="%addint"external(-):int->int->int="%subint"external(*):int->int->int="%mulint"external(/):int->int->int="%divint"external(mod):int->int->int="%modint"letabs=absletmax_int=max_intletmin_int=min_intexternal(land):int->int->int="%andint"external(lor):int->int->int="%orint"external(lxor):int->int->int="%xorint"letlnot=lnotexternal(lsl):int->int->int="%lslint"external(lsr):int->int->int="%lsrint"external(asr):int->int->int="%asrint"external(~-.):float->float="%negfloat"external(~+.):float->float="%identity"external(+.):float->float->float="%addfloat"external(-.):float->float->float="%subfloat"external(*.):float->float->float="%mulfloat"external(/.):float->float->float="%divfloat"external(**):float->float->float="caml_power_float""pow"[@@unboxed][@@noalloc]externalsqrt:float->float="caml_sqrt_float""sqrt"[@@unboxed][@@noalloc]externalexp:float->float="caml_exp_float""exp"[@@unboxed][@@noalloc]externallog:float->float="caml_log_float""log"[@@unboxed][@@noalloc]externallog10:float->float="caml_log10_float""log10"[@@unboxed][@@noalloc]externalexpm1:float->float="caml_expm1_float""caml_expm1"[@@unboxed][@@noalloc]externallog1p:float->float="caml_log1p_float""caml_log1p"[@@unboxed][@@noalloc]externalcos:float->float="caml_cos_float""cos"[@@unboxed][@@noalloc]externalsin:float->float="caml_sin_float""sin"[@@unboxed][@@noalloc]externaltan:float->float="caml_tan_float""tan"[@@unboxed][@@noalloc]externalacos:float->float="caml_acos_float""acos"[@@unboxed][@@noalloc]externalasin:float->float="caml_asin_float""asin"[@@unboxed][@@noalloc]externalatan:float->float="caml_atan_float""atan"[@@unboxed][@@noalloc]externalatan2:float->float->float="caml_atan2_float""atan2"[@@unboxed][@@noalloc]externalhypot:float->float->float="caml_hypot_float""caml_hypot"[@@unboxed][@@noalloc]externalcosh:float->float="caml_cosh_float""cosh"[@@unboxed][@@noalloc]externalsinh:float->float="caml_sinh_float""sinh"[@@unboxed][@@noalloc]externaltanh:float->float="caml_tanh_float""tanh"[@@unboxed][@@noalloc]externalceil:float->float="caml_ceil_float""ceil"[@@unboxed][@@noalloc]externalfloor:float->float="caml_floor_float""floor"[@@unboxed][@@noalloc]externalabs_float:float->float="%absfloat"externalcopysign:float->float->float="caml_copysign_float""caml_copysign"[@@unboxed][@@noalloc]externalmod_float:float->float->float="caml_fmod_float""fmod"[@@unboxed][@@noalloc]externalfrexp:float->float*int="caml_frexp_float"externalldexp:(float[@unboxed])->(int[@untagged])->(float[@unboxed])="caml_ldexp_float""caml_ldexp_float_unboxed"[@@noalloc]externalmodf:float->float*float="caml_modf_float"externalfloat:int->float="%floatofint"externalfloat_of_int:int->float="%floatofint"externaltruncate:float->int="%intoffloat"externalint_of_float:float->int="%intoffloat"letinfinity=infinityletneg_infinity=neg_infinityletnan=nanletmax_float=max_floatletmin_float=min_floatletepsilon_float=epsilon_floattypenonrecfpclass=fpclass=FP_normal|FP_subnormal|FP_zero|FP_infinite|FP_nanexternalclassify_float:(float[@unboxed])->fpclass="caml_classify_float""caml_classify_float_unboxed"[@@noalloc]let(^)=(^)externalint_of_char:char->int="%identity"letchar_of_int=char_of_intexternalignore:'a->unit="%ignore"letstring_of_bool=string_of_boolletbool_of_string=bool_of_stringletbool_of_string_opt=bool_of_string_optletstring_of_int=string_of_intexternalint_of_string:string->int="caml_int_of_string"letint_of_string_opt=int_of_string_optletstring_of_float=string_of_floatexternalfloat_of_string:string->float="caml_float_of_string"letfloat_of_string_opt=float_of_string_optexternalfst:'a*'b->'a="%field0"externalsnd:'a*'b->'b="%field1"let(@)=(@)typenonrecin_channel=in_channeltypenonrecout_channel=out_channelletstdin=stdinletstdout=stdoutletstderr=stderrletprint_char=print_charletprint_string=print_stringletprint_bytes=print_bytesletprint_int=print_intletprint_float=print_floatletprint_endline=print_endlineletprint_newline=print_newlineletprerr_char=prerr_charletprerr_string=prerr_stringletprerr_bytes=prerr_bytesletprerr_int=prerr_intletprerr_float=prerr_floatletprerr_endline=prerr_endlineletprerr_newline=prerr_newlineletread_line=read_lineletread_int=read_intletread_int_opt=read_int_optletread_float=read_floatletread_float_opt=read_float_opttypenonrecopen_flag=open_flag=Open_rdonly|Open_wronly|Open_append|Open_creat|Open_trunc|Open_excl|Open_binary|Open_text|Open_nonblockletopen_out=open_outletopen_out_bin=open_out_binletopen_out_gen=open_out_genletflush=flushletflush_all=flush_allletoutput_char=output_charletoutput_string=output_stringletoutput_bytes=output_bytesletoutput=outputletoutput_substring=output_substringletoutput_byte=output_byteletoutput_binary_int=output_binary_intletoutput_value=output_valueletseek_out=seek_outletpos_out=pos_outletout_channel_length=out_channel_lengthletclose_out=close_outletclose_out_noerr=close_out_noerrletset_binary_mode_out=set_binary_mode_outletopen_in=open_inletopen_in_bin=open_in_binletopen_in_gen=open_in_genletinput_char=input_charletinput_line=input_lineletinput=inputletreally_input=really_inputletreally_input_string=really_input_stringletinput_byte=input_byteletinput_binary_int=input_binary_intletinput_value=input_valueletseek_in=seek_inletpos_in=pos_inletin_channel_length=in_channel_lengthletclose_in=close_inletclose_in_noerr=close_in_noerrletset_binary_mode_in=set_binary_mode_inmoduleLargeFile=LargeFiletypenonrec'aref='aref={mutablecontents:'a}externalref:'a->'aref="%makemutable"external(!):'aref->'a="%field0"external(:=):'aref->'a->unit="%setfield0"externalincr:intref->unit="%incr"externaldecr:intref->unit="%decr"typenonrec('a,'b)result=('a,'b)result=Okof'a|Errorof'btype('a,'b,'c,'d,'e,'f)format6=('a,'b,'c,'d,'e,'f)CamlinternalFormatBasics.format6type('a,'b,'c,'d)format4=('a,'b,'c,'c,'c,'d)format6type('a,'b,'c)format=('a,'b,'c,'c)format4letstring_of_format=string_of_formatexternalformat_of_string:('a,'b,'c,'d,'e,'f)format6->('a,'b,'c,'d,'e,'f)format6="%identity"let(^^)=(^^)letexit=exitletat_exit=at_exitletvalid_float_lexem=valid_float_lexemletdo_at_exit=do_at_exit