package commons

  1. Overview
  2. Docs

Module Common2Source

Sourceval verbose_level : int ref
Sourceval generic_print : 'a -> string -> string
Sourceclass 'a olist : 'a list -> object ... end
Sourceval typing_sux_test : unit -> unit
Sourcetype filename = string
Sourcetype dirname = string
Sourcetype path = string
Sourcemodule BasicType : sig ... end
Sourcemodule Infix : sig ... end
Sourceval _tab_level_print : int ref
Sourceval indent_do : (unit -> 'a) -> 'a
Sourceval reset_pr_indent : unit -> unit
Sourceval _prefix_pr : string ref
Sourceval pr : string -> unit
Sourceval pr_no_nl : string -> unit
Sourceval pr_xxxxxxxxxxxxxxxxx : unit -> unit
Sourceval _chan_pr2 : out_channel option ref
Sourceval pr2 : string -> unit
Sourceval pr2_no_nl : string -> unit
Sourceval pr2_xxxxxxxxxxxxxxxxx : unit -> unit
Sourceval pr2_gen : 'a -> unit
Sourceval dump : 'a -> string
Sourceval pr2_once : string -> unit
Sourceval mk_pr2_wrappers : bool ref -> (string -> unit) * (string -> unit)
Sourceval redirect_stdout_opt : filename option -> (unit -> 'a) -> 'a
Sourceval redirect_stdout_stderr : filename -> (unit -> unit) -> unit
Sourceval redirect_stdin : filename -> (unit -> unit) -> unit
Sourceval redirect_stdin_opt : filename option -> (unit -> unit) -> unit
Sourceval with_pr2_to_string : (unit -> unit) -> string list
Sourceval spf : ('a, unit, string) format -> 'a
Sourceval start_log_file : unit -> unit
Sourceval log : string -> unit
Sourceval log2 : string -> unit
Sourceval log3 : string -> unit
Sourceval log4 : string -> unit
Sourceval if_log : (unit -> unit) -> unit
Sourceval if_log2 : (unit -> unit) -> unit
Sourceval if_log3 : (unit -> unit) -> unit
Sourceval if_log4 : (unit -> unit) -> unit
Sourceval pause : unit -> unit
Sourceval _trace_var : int ref
Sourceval add_var : unit -> unit
Sourceval dec_var : unit -> unit
Sourceval get_var : unit -> int
Sourceval print_n : int -> string -> unit
Sourceval printerr_n : int -> string -> unit
Sourceval _debug : bool ref
Sourceval debugon : unit -> unit
Sourceval debugoff : unit -> unit
Sourceval debug : (unit -> unit) -> unit
Sourceval get_mem : unit -> string
Sourceval memory_stat : unit -> string
Sourceval timenow : unit -> string
Sourceval _count1 : int ref
Sourceval _count2 : int ref
Sourceval _count3 : int ref
Sourceval _count4 : int ref
Sourceval _count5 : int ref
Sourceval count1 : unit -> unit
Sourceval count2 : unit -> unit
Sourceval count3 : unit -> unit
Sourceval count4 : unit -> unit
Sourceval count5 : unit -> unit
Sourceval profile_diagnostic_basic : unit -> string
Sourceval time_func : (unit -> 'a) -> 'a
Sourceval example : bool -> unit
Sourceval example2 : string -> bool -> unit
Sourceval assert_equal : 'a -> 'a -> unit
Sourceval _list_bool : (string * bool) list ref
Sourceval example3 : string -> bool -> unit
Sourceval test_all : unit -> unit
Sourcetype score_result =
  1. | Ok
  2. | Pb of string
Sourcetype score = (string, score_result) Hashtbl.t
Sourcetype score_list = (string * score_result) list
Sourceval empty_score : unit -> score
Sourceval regression_testing : score -> filename -> unit
Sourceval regression_testing_vs : score -> score -> score
Sourceval total_scores : score -> int * int
Sourceval print_score : score -> unit
Sourceval print_total_score : score -> unit
Sourcetype 'a gen = unit -> 'a
Sourceval ig : int gen
Sourceval lg : 'a gen -> 'a list gen
Sourceval pg : 'a gen -> 'b gen -> ('a * 'b) gen
Sourceval polyg : int gen
Sourceval ng : string gen
Sourceval oneofl : 'a list -> 'a gen
Sourceval oneof : 'a gen list -> 'a gen
Sourceval always : 'a -> 'a gen
Sourceval frequency : (int * 'a gen) list -> 'a gen
Sourceval frequencyl : (int * 'a) list -> 'a gen
Sourceval laws : string -> ('a -> bool) -> 'a gen -> 'a option
Sourceval statistic_number : 'a list -> (int * 'a) list
Sourceval statistic : 'a list -> (int * 'a) list
Sourceval laws2 : string -> ('a -> bool * 'b) -> 'a gen -> 'a option * (int * 'b) list
Sourceval get_value : filename -> 'a
Sourceval read_value : filename -> 'a
Sourceval write_value : 'a -> filename -> unit
Sourceval write_back : ('a -> 'b) -> filename -> unit
Sourceval marshal__to_string : 'a -> Marshal.extern_flags list -> string
Sourceval marshal__from_string : string -> int -> 'a
Sourceval _counter : int ref
Sourceval _counter2 : int ref
Sourceval _counter3 : int ref
Sourceval counter : unit -> int
Sourceval counter2 : unit -> int
Sourceval counter3 : unit -> int
Sourcetype timestamp = int
Sourceval string_of_string : (string -> string) -> string
Sourceval string_of_list : ('a -> string) -> 'a list -> string
Sourceval string_of_unit : unit -> string
Sourceval string_of_array : ('a -> string) -> 'a array -> string
Sourceval string_of_option : ('a -> string) -> 'a option -> string
Sourceval print_bool : bool -> unit
Sourceval print_option : ('a -> unit) -> 'a option -> unit
Sourceval print_list : ('a -> unit) -> 'a list -> unit
Sourceval print_between : (unit -> unit) -> ('a -> unit) -> 'a list -> unit
Sourceval pp_do_in_box : (unit -> unit) -> unit
Sourceval pp_f_in_box : (unit -> 'a) -> 'a
Sourceval pp_do_in_zero_box : (unit -> unit) -> unit
Sourceval pp : string -> unit
Sourceval format_to_string : (unit -> unit) -> string
Sourceval adjust_pp_with_indent : (unit -> unit) -> unit
Sourceval adjust_pp_with_indent_and_header : string -> (unit -> unit) -> unit
Sourceval mk_str_func_of_assoc_conv : ('a * string) list -> (string -> 'a) * ('a -> string)
Sourceval macro_expand : string -> unit
Sourceval (+!>) : 'a ref -> ('a -> 'a) -> unit
Sourceval ($) : ('a -> 'b) -> ('b -> 'c) -> 'a -> 'c
Sourceval compose : ('a -> 'b) -> ('c -> 'a) -> 'c -> 'b
Sourceval flip : ('a -> 'b -> 'c) -> 'b -> 'a -> 'c
Sourceval curry : (('a * 'b) -> 'c) -> 'a -> 'b -> 'c
Sourceval uncurry : ('a -> 'b -> 'c) -> ('a * 'b) -> 'c
Sourceval id : 'a -> 'a
Sourceval do_nothing : unit -> unit
Sourceval const : 'a -> 'b -> 'a
Sourceval forever : (unit -> unit) -> unit
Sourceval applyn : int -> ('a -> 'a) -> 'a -> 'a
Sourceclass 'a shared_variable_hook : 'a -> object ... end
Sourceval fixpoint : ('a -> 'a) -> 'a -> 'a
Sourceval fixpoint_for_object : (< equal : 'a -> bool.. > as 'a -> 'a) -> 'a -> 'a
Sourceval add_hook : ('a -> ('a -> 'b) -> 'b) ref -> ('a -> ('a -> 'b) -> 'b) -> unit
Sourceval add_hook_action : ('a -> unit) -> ('a -> unit) list ref -> unit
Sourceval run_hooks_action : 'a -> ('a -> unit) list ref -> unit
Sourcetype 'a mylazy = unit -> 'a
Sourceval save_excursion : 'a ref -> 'a -> (unit -> 'b) -> 'b
Sourceval save_excursion_and_disable : bool ref -> (unit -> 'b) -> 'b
Sourceval save_excursion_and_enable : bool ref -> (unit -> 'b) -> 'b
Sourceval memoized : ?use_cache:bool -> ('a, 'b) Hashtbl.t -> 'a -> (unit -> 'b) -> 'b
Sourceval cache_in_ref : 'a option ref -> (unit -> 'a) -> 'a
Sourceval cache_computation : ?verbose:bool -> ?use_cache:bool -> filename -> string -> (unit -> 'a) -> 'a
Sourceval cache_computation_robust : filename -> string -> (filename list * 'x) -> string -> (unit -> 'a) -> 'a
Sourceval oncef : ('a -> unit) -> 'a -> unit
Sourceval once : bool ref -> (unit -> unit) -> unit
Sourceval before_leaving : ('a -> unit) -> 'a -> 'a
Sourceexception FileAlreadyLocked
Sourceval acquire_file_lock : filename -> unit
Sourceval release_file_lock : filename -> unit
Sourceexception Here
Sourceexception ReturnExn
Sourceexception WrongFormat of string
Sourceval internal_error : string -> 'a
Sourceval myassert : bool -> unit
Sourceval warning : string -> 'a -> 'a
Sourceval error_cant_have : 'a -> 'b
Sourceval exn_to_s : exn -> string
Sourceval string_of_exn : exn -> string
Sourceval exn_to_s_with_backtrace : exn -> string
Sourcetype error =
  1. | Error of string
Sourcetype evotype = unit
Sourceval evoval : evotype
Sourceval _check_stack : bool ref
Sourceval check_stack_size : int -> unit
Sourceval check_stack_nbfiles : int -> unit
Sourceval _init_gc_stack : unit
Sourceval (=|=) : int -> int -> bool
Sourceval (=<=) : char -> char -> bool
Sourceval (=$=) : string -> string -> bool
Sourceval (=:=) : bool -> bool -> bool
Sourceval (=*=) : 'a -> 'a -> bool
Sourceval (|||) : 'a -> 'a -> 'a
Sourceval (==>) : bool -> bool -> bool
Sourceval xor : 'a -> 'a -> bool
Sourceval string_of_char : char -> string
Sourceval string_of_chars : char list -> string
Sourceval is_single : char -> bool
Sourceval is_symbol : char -> bool
Sourceval is_space : char -> bool
Sourceval is_upper : char -> bool
Sourceval is_lower : char -> bool
Sourceval is_alpha : char -> bool
Sourceval is_digit : char -> bool
Sourceval cbetween : char -> char -> char -> bool
Sourceval (/!) : int -> int -> int
Sourceval do_n : int -> (unit -> unit) -> unit
Sourceval foldn : ('a -> int -> 'a) -> 'a -> int -> 'a
Sourceval times : (unit -> unit) -> int -> unit
Sourceval pi : float
Sourceval pi2 : float
Sourceval pi4 : float
Sourceval deg_to_rad : float -> float
Sourceval clampf : float -> float
Sourceval square : float -> float
Sourceval power : int -> int -> int
Sourceval between : 'a -> 'a -> 'a -> bool
Sourceval between_strict : int -> int -> int -> bool
Sourceval bitrange : int -> int -> bool
Sourceval borne : min:'a -> max:'a -> 'a -> 'a
Sourceval prime1 : int -> int option
Sourceval prime : int -> int option
Sourceval sum : int list -> int
Sourceval product : int list -> int
Sourceval decompose : int -> int list
Sourceval mysquare : int -> int
Sourceval sqr : float -> float
Sourcetype compare =
  1. | Equal
  2. | Inf
  3. | Sup
Sourceval (<=>) : 'a -> 'a -> compare
Sourceval (<==>) : 'a -> 'a -> int
Sourcetype uint = int
Sourceval int_of_stringchar : string -> int
Sourceval int_of_base : string -> int -> int
Sourceval int_of_stringbits : string -> int
Sourceval int_of_octal : string -> int
Sourceval int_of_all : string -> int
Sourceval int_of_string_c_octal_opt : string -> int option
Sourceval float_of_string_opt : string -> float option
Sourceval (+=) : int ref -> int -> unit
Sourceval (-=) : int ref -> int -> unit
Sourceval pourcent : int -> int -> int
Sourceval pourcent_float : int -> int -> float
Sourceval pourcent_float_of_floats : float -> float -> float
Sourceval pourcent_good_bad : int -> int -> int
Sourceval pourcent_good_bad_float : int -> int -> float
Sourcetype 'a max_with_elem = int ref * 'a ref
Sourceval update_max_with_elem : 'a max_with_elem -> is_better:(int -> int ref -> bool) -> (int * 'a) -> unit
Sourcetype 'a numdict =
  1. | NumDict of ('a -> 'a -> 'a) * ('a -> 'a -> 'a) * ('a -> 'a -> 'a) * ('a -> 'a)
Sourceval add : 'a numdict -> 'a -> 'a -> 'a
Sourceval mul : 'a numdict -> 'a -> 'a -> 'a
Sourceval div : 'a numdict -> 'a -> 'a -> 'a
Sourceval neg : 'a numdict -> 'a -> 'a
Sourceval numd_int : int numdict
Sourceval numd_float : float numdict
Sourceval testd : 'a numdict -> 'a -> 'a
Sourcemodule ArithFloatInfix : sig ... end
Sourceval _init_random : unit
Sourceval random_list : 'a list -> 'a
Sourceval randomize_list : 'a list -> 'a list
Sourceval random_subset_of_list : int -> 'a list -> 'a list
Sourcetype 'a pair = 'a * 'a
Sourcetype 'a triple = 'a * 'a * 'a
Sourceval fst3 : ('a * 'b * 'c) -> 'a
Sourceval snd3 : ('a * 'b * 'c) -> 'b
Sourceval thd3 : ('a * 'b * 'c) -> 'c
Sourceval sndthd : ('a * 'b * 'c) -> 'b * 'c
Sourceval map_fst : ('a -> 'b) -> ('a * 'c) -> 'b * 'c
Sourceval map_snd : ('a -> 'b) -> ('c * 'a) -> 'c * 'b
Sourceval pair : ('a -> 'b) -> ('a * 'a) -> 'b * 'b
Sourceval triple : ('a -> 'b) -> ('a * 'a * 'a) -> 'b * 'b * 'b
Sourceval double : 'a -> 'a * 'a
Sourceval swap : ('a * 'b) -> 'b * 'a
Sourceval tuple_of_list1 : 'a list -> 'a
Sourceval tuple_of_list2 : 'a list -> 'a * 'a
Sourceval tuple_of_list3 : 'a list -> 'a * 'a * 'a
Sourceval tuple_of_list4 : 'a list -> 'a * 'a * 'a * 'a
Sourceval tuple_of_list5 : 'a list -> 'a * 'a * 'a * 'a * 'a
Sourceval tuple_of_list6 : 'a list -> 'a * 'a * 'a * 'a * 'a * 'a
Sourcetype ('a, 'b) either =
  1. | Left of 'a
  2. | Right of 'b
Sourcetype ('a, 'b, 'c) either3 =
  1. | Left3 of 'a
  2. | Middle3 of 'b
  3. | Right3 of 'c
Sourceval just : 'a option -> 'a
Sourceval some : 'a option -> 'a
Sourceval fmap : ('a -> 'b) -> 'a option -> 'b option
Sourceval map_option : ('a -> 'b) -> 'a option -> 'b option
Sourceval do_option : ('a -> unit) -> 'a option -> unit
Sourceval opt : ('a -> unit) -> 'a option -> unit
Sourceval optionise : (unit -> 'a) -> 'a option
Sourceval some_or : 'a option -> 'a -> 'a
Sourceval option_to_list : 'a option -> 'a list
Sourceval partition_either : ('a -> ('b, 'c) either) -> 'a list -> 'b list * 'c list
Sourceval partition_either3 : ('a -> ('b, 'c, 'd) either3) -> 'a list -> 'b list * 'c list * 'd list
Sourceval filter_some : 'a option list -> 'a list
Sourceval map_filter : ('a -> 'b option) -> 'a list -> 'b list
Sourceval find_some : ('a -> 'b option) -> 'a list -> 'b
Sourceval find_some_opt : ('a -> 'b option) -> 'a list -> 'b option
Sourceval list_to_single_or_exn : 'a list -> 'a
Sourceval while_some : gen:(unit -> 'a option) -> f:('a -> 'b) -> unit -> 'b list
Sourceval (||=) : 'a option ref -> (unit -> 'a) -> unit
Sourceval (>>=) : 'a option -> ('a -> 'b option) -> 'b option
Sourceval (|?) : 'a option -> 'a Lazy.t -> 'a
Sourcetype bool3 =
  1. | True3
  2. | False3
  3. | TrueFalsePb3 of string
Sourceval slength : string -> int
Sourceval concat : string -> string list -> string
Sourceval i_to_s : int -> string
Sourceval s_to_i : string -> int
Sourceval _shareds : (string, string) Hashtbl.t
Sourceval shared_string : string -> string
Sourceval chop : string -> string
Sourceval chop_dirsymbol : string -> string
Sourceval (<!!>) : string -> (int * int) -> string
Sourceval (<!>) : string -> int -> char
Sourceval take_string : int -> string -> string
Sourceval take_string_safe : int -> string -> string
Sourceval split_on_char : char -> string -> string list
Sourceval quote : string -> string
Sourceval unquote : string -> string
Sourceval null_string : string -> bool
Sourceval is_blank_string : string -> bool
Sourceval is_string_prefix : string -> string -> bool
Sourceval plural : int -> string -> string
Sourceval showCodeHex : int list -> unit
Sourceval size_mo_ko : int -> string
Sourceval size_ko : int -> string
Sourceval edit_distance : string -> string -> int
Sourceval md5sum_of_string : string -> string
Sourceval wrap : ?width:int -> string -> string
Sourceval regexp_alpha : Str.regexp
Sourceval regexp_word : Str.regexp
Sourceval _memo_compiled_regexp : (string, Str.regexp) Hashtbl.t
Sourceval (=~) : string -> string -> bool
Sourceval (==~) : string -> Str.regexp -> bool
Sourceval regexp_match : string -> string -> string
Sourceval matched : int -> string -> string
Sourceval matched1 : string -> string
Sourceval matched2 : string -> string * string
Sourceval matched3 : string -> string * string * string
Sourceval matched4 : string -> string * string * string * string
Sourceval matched5 : string -> string * string * string * string * string
Sourceval matched6 : string -> string * string * string * string * string * string
Sourceval matched7 : string -> string * string * string * string * string * string * string
Sourceval string_match_substring : Str.regexp -> string -> bool
Sourceval split : string -> string -> string list
Sourceval join : string -> string list -> string
Sourceval split_list_regexp : string -> string list -> (string * string list) list
Sourceval split_list_regexp_noheading : string
Sourceval all_match : string -> string -> string list
Sourceval global_replace_regexp : string -> (string -> string) -> string -> string
Sourceval regular_words : string -> string list
Sourceval contain_regular_word : string -> bool
Sourcetype regexp =
  1. | Contain of string
  2. | Start of string
  3. | End of string
  4. | Exact of string
Sourceval regexp_string_of_regexp : regexp -> string
Sourceval str_regexp_of_regexp : regexp -> Str.regexp
Sourceval compile_regexp_union : regexp list -> Str.regexp
Sourceval dirname : string -> string
Sourceval basename : string -> string
Sourceval filesuffix : filename -> string
Sourceval fileprefix : filename -> string
Sourceval adjust_ext_if_needed : filename -> string -> filename
Sourceval db_of_filename : filename -> string * filename
Sourceval filename_of_db : (string * filename) -> filename
Sourceval dbe_of_filename : filename -> string * string * string
Sourceval dbe_of_filename_nodot : filename -> string * string * string
Sourceval dbe_of_filename_safe : filename -> (string * string * string, string * string) either
Sourceval dbe_of_filename_noext_ok : filename -> string * string * string
Sourceval dbe_of_filename_many_ext_opt : filename -> (dirname * string * string) option
Sourceval filename_of_dbe : (string * string * string) -> filename
Sourceval replace_ext : filename -> string -> string -> filename
Sourceval normalize_path : filename -> filename
Sourceval relative_to_absolute : filename -> filename
Sourceval is_relative : filename -> bool
Sourceval is_absolute : filename -> bool
Sourceval filename_without_leading_path : string -> filename -> filename
Sourceval realpath : filename -> filename
Sourceval inits_of_absolute_dir : dirname -> dirname list
Sourceval inits_of_relative_dir : dirname -> dirname list
Sourcetype filepos = {
  1. l : int;
  2. c : int;
}
Sourcetype langage =
  1. | English
  2. | Francais
  3. | Deutsch
Sourcetype month =
  1. | Jan
  2. | Feb
  3. | Mar
  4. | Apr
  5. | May
  6. | Jun
  7. | Jul
  8. | Aug
  9. | Sep
  10. | Oct
  11. | Nov
  12. | Dec
Sourcetype year =
  1. | Year of int
Sourcetype day =
  1. | Day of int
Sourcetype date_dmy =
  1. | DMY of day * month * year
Sourcetype hour =
  1. | Hour of int
Sourcetype minute =
  1. | Min of int
Sourcetype second =
  1. | Sec of int
Sourcetype time_hms =
  1. | HMS of hour * minute * second
Sourcetype full_date = date_dmy * time_hms
Sourcetype days =
  1. | Days of int
Sourcetype time_dmy =
  1. | TimeDMY of day * month * year
Sourcetype float_time = float
Sourceval mk_date_dmy : int -> int -> int -> date_dmy
Sourceval check_date_dmy : date_dmy -> unit
Sourceval check_time_dmy : time_dmy -> unit
Sourceval check_time_hms : time_hms -> unit
Sourceval int_to_month : int -> string
Sourceval int_of_month : month -> int
Sourceval month_of_string : string -> month
Sourceval month_of_string_long : string -> month
Sourceval string_of_month : month -> string
Sourceval string_of_date_dmy : date_dmy -> string
Sourceval date_dmy_of_string : string -> date_dmy
Sourceval string_of_unix_time : ?langage:langage -> Unix.tm -> string
Sourceval short_string_of_unix_time : ?langage:langage -> Unix.tm -> string
Sourceval string_of_floattime : ?langage:langage -> float_time -> string
Sourceval short_string_of_floattime : ?langage:langage -> float_time -> string
Sourceval floattime_of_string : string -> float_time
Sourceval dmy_to_unixtime : date_dmy -> float_time * Unix.tm
Sourceval unixtime_to_dmy : Unix.tm -> date_dmy
Sourceval unixtime_to_floattime : Unix.tm -> float_time
Sourceval floattime_to_unixtime : float_time -> Unix.tm
Sourceval floattime_to_dmy : float_time -> date_dmy
Sourceval sec_to_days : int -> string
Sourceval sec_to_hours : int -> string
Sourceval today : unit -> float_time
Sourceval yesterday : unit -> float_time
Sourceval tomorrow : unit -> float_time
Sourceval lastweek : unit -> float_time
Sourceval lastmonth : unit -> float_time
Sourceval week_before : float_time -> float_time
Sourceval month_before : float_time -> float_time
Sourceval week_after : float_time -> float_time
Sourceval days_in_week_of_day : float_time -> float_time list
Sourceval first_day_in_week_of_day : float_time -> float_time
Sourceval last_day_in_week_of_day : float_time -> float_time
Sourceval day_secs : float_time
Sourceval rough_days_since_jesus : date_dmy -> days
Sourceval rough_days_between_dates : date_dmy -> date_dmy -> days
Sourceval string_of_unix_time_lfs : Unix.tm -> string
Sourceval is_more_recent : date_dmy -> date_dmy -> bool
Sourceval max_dmy : date_dmy -> date_dmy -> date_dmy
Sourceval min_dmy : date_dmy -> date_dmy -> date_dmy
Sourceval maximum_dmy : date_dmy list -> date_dmy
Sourceval minimum_dmy : date_dmy list -> date_dmy
Sourceval timestamp : unit -> string
Sourceval list_of_string : string -> char list
Sourceval lines : string -> string list
Sourceval unlines : string list -> string
Sourceval words : string -> string list
Sourceval unwords : string list -> string
Sourceval split_space : string -> string list
Sourceval lines_with_nl : string -> string list
Sourceval nblines : filename -> int
Sourceval nblines_eff : filename -> int
Sourceval nblines_with_wc : filename -> int
Sourceval unix_diff : filename -> filename -> string list
Sourceval unix_diff_strings : string -> string -> string list
Sourceval words_of_string_with_newlines : string -> string list
Sourceval lines_with_nl_either : string -> (string, unit) either list
Sourceval n_space : int -> string
Sourceval indent_string : int -> string -> string
Sourceval cat : filename -> string list
Sourceval cat_orig : filename -> string list
Sourceval cat_array : filename -> string array
Sourceval cat_excerpts : filename -> int list -> string list
Sourceval uncat : string list -> filename -> unit
Sourceval interpolate : string -> string list
Sourceval echo : string -> string
Sourceval usleep : int -> unit
Sourceexception CmdError of Unix.process_status * string
Sourceval cmd_to_list_and_status : ?verbose:bool -> string -> string list * Unix.process_status
Sourceval process_output_to_list : ?verbose:bool -> string -> string list
Sourceval cmd_to_list : ?verbose:bool -> string -> string list
Sourceval process_output_to_list2 : ?verbose:bool -> string -> string list * Unix.process_status
Sourceval command2 : string -> unit
Sourceval _batch_mode : bool ref
Sourceval command_safe : ?verbose:bool -> filename -> string list -> int
Sourceval y_or_no : string -> bool
Sourceval command2_y_or_no : string -> bool
Sourceval command2_y_or_no_exit_if_no : string -> unit
Sourceval do_in_fork : (unit -> unit) -> int
Sourceval mkdir : ?mode:Unix.file_perm -> string -> unit
Sourceval read_file : filename -> string
Sourceval write_file : file:filename -> string -> unit
Sourceval nblines_file : filename -> int
Sourceval filesize : filename -> int
Sourceval filemtime : filename -> float
Sourceval lfile_exists : filename -> bool
Sourceval is_directory : path -> bool
Sourceval is_file : path -> bool
Sourceval is_executable : filename -> bool
Sourceval unix_lstat_eff : filename -> Unix.stats
Sourceval unix_stat_eff : filename -> Unix.stats
Sourceval filesize_eff : filename -> int
Sourceval filemtime_eff : filename -> float
Sourceval lfile_exists_eff : filename -> bool
Sourceval is_directory_eff : path -> bool
Sourceval is_file_eff : path -> bool
Sourceval is_executable_eff : filename -> bool
Sourceval capsule_unix : ('a -> unit) -> 'a -> unit
Sourceval readdir_to_kind_list : string -> Unix.file_kind -> string list
Sourceval readdir_to_dir_list : string -> dirname list
Sourceval readdir_to_file_list : string -> filename list
Sourceval readdir_to_dir_size_list : string -> (string * int) list
Sourceval unixname : unit -> string
Sourceval glob : string -> filename list
Sourceval files_of_dir_or_files : string -> string list -> filename list
Sourceval files_of_dir_or_files_no_vcs : string -> string list -> filename list
Sourceval files_of_dir_or_files_no_vcs_post_filter : string -> string list -> filename list
Sourceval files_of_dir_or_files_no_vcs_nofilter : string list -> filename list
Sourceval dirs_of_dir : dirname -> dirname list
Sourceval common_prefix_of_files_or_dirs : path list -> dirname
Sourceval sanity_check_files_and_adjust : string -> string list -> filename list
Sourcetype rwx = [ `R | `W | `X ] list
Sourceval file_perm_of : u:rwx -> g:rwx -> o:rwx -> Unix.file_perm
Sourceval has_env : string -> bool
Sourceval with_open_outfile_append : filename -> (((string -> unit) * out_channel) -> 'a) -> 'a
Sourceval with_open_stringbuf : (((string -> unit) * Buffer.t) -> unit) -> string
Sourceval with_tmp_file : str:string -> ext:string -> (filename -> 'a) -> 'a
Sourceval register_tmp_file_cleanup_hook : (string -> unit) -> unit
Sourceval with_tmp_dir : (dirname -> 'a) -> 'a
Sourceexception UnixExit of int
Sourceval exn_to_real_unixexit : (unit -> 'a) -> 'a
Sourceval hd_opt : 'a list -> 'a option
Sourceval map_eff_rev : ('a -> 'b) -> 'a list -> 'b list
Sourceval acc_map : ('a -> 'b) -> 'a list -> 'b list
Sourceval zip : 'a list -> 'b list -> ('a * 'b) list
Sourceval zip_safe : 'a list -> 'b list -> ('a * 'b) list
Sourceval unzip : ('a * 'b) list -> 'a list * 'b list
Sourceval unzip3 : ('a * 'b * 'c) list -> 'a list * 'b list * 'c list
Sourceval unzip4 : ('a * 'b * 'c * 'd) list -> 'a list * 'b list * 'c list * 'd list
Sourceval take : int -> 'a list -> 'a list
Sourceval take_safe : int -> 'a list -> 'a list
Sourceval take_until : ('a -> bool) -> 'a list -> 'a list
Sourceval take_while : ('a -> bool) -> 'a list -> 'a list
Sourceval drop : int -> 'a list -> 'a list
Sourceval drop_while : ('a -> bool) -> 'a list -> 'a list
Sourceval drop_until : ('a -> bool) -> 'a list -> 'a list
Sourceval span : ('a -> bool) -> 'a list -> 'a list * 'a list
Sourceval span_tail_call : ('a -> bool) -> 'a list -> 'a list * 'a list
Sourceval skip_until : ('a list -> bool) -> 'a list -> 'a list
Sourceval skipfirst : 'a -> 'a list -> 'a list
Sourceval fpartition : ('a -> 'b option) -> 'a list -> 'b list * 'a list
Sourceval groupBy : ('a -> 'a -> bool) -> 'a list -> 'a list list
Sourceval exclude_but_keep_attached : ('a -> bool) -> 'a list -> ('a * 'a list) list
Sourceval group_by_post : ('a -> bool) -> 'a list -> ('a list * 'a) list * 'a list
Sourceval group_by_pre : ('a -> bool) -> 'a list -> 'a list * ('a * 'a list) list
Sourceval group_by_mapped_key : ('a -> 'b) -> 'a list -> ('b * 'a list) list
Sourceval group_and_count : 'a list -> ('a * int) list
Sourceval group_assoc_bykey_eff : ('a * 'b) list -> ('a * 'b list) list
Sourceval splitAt : int -> 'a list -> 'a list * 'a list
Sourceval split_when : ('a -> bool) -> 'a list -> 'a list * 'a * 'a list
Sourceval split_gen_when : ('a list -> 'a list option) -> 'a list -> 'a list list
Sourceval pack : int -> 'a list -> 'a list list
Sourceval pack_safe : int -> 'a list -> 'a list list
Sourceval chunks : int -> 'a list -> 'a list list
Sourceval enum : int -> int -> int list
Sourceval enum_safe : int -> int -> int list
Sourceval repeat : 'a -> int -> 'a list
Sourceval generate : int -> 'a -> 'a list
Sourceval index_list : 'a list -> ('a * int) list
Sourceval index_list_0 : 'a list -> ('a * int) list
Sourceval index_list_1 : 'a list -> ('a * int) list
Sourceval index_list_and_total : 'a list -> ('a * int * int) list
Sourceval iter_index : ('a -> int -> unit) -> 'a list -> unit
Sourceval map_index : ('a -> int -> 'b) -> 'a list -> 'b list
Sourceval filter_index : (int -> 'a -> bool) -> 'a list -> 'a list
Sourceval fold_left_with_index : ('a -> 'b -> int -> 'a) -> 'a -> 'b list -> 'a
Sourceval nth : 'a list -> int -> 'a
Sourceval rang : 'a -> 'a list -> int
Sourceval last_n : int -> 'a list -> 'a list
Sourceval snoc : 'a -> 'a list -> 'a list
Sourceval cons : 'a -> 'a list -> 'a list
Sourceval uncons : 'a list -> 'a * 'a list
Sourceval safe_tl : 'a list -> 'a list
Sourceval head_middle_tail : 'a list -> 'a * 'a list * 'a
Sourceval list_last : 'a list -> 'a
Sourceval list_init : 'a list -> 'a list
Sourceval removelast : 'a list -> 'a list
Sourceval inits : 'a list -> 'a list list
Sourceval tails : 'a list -> 'a list list
Sourceval (++) : 'a list -> 'a list -> 'a list
Sourceval foldl1 : ('a -> 'a -> 'a) -> 'a list -> 'a
Sourceval fold_k : ('a -> 'b -> ('a -> 'a) -> 'a) -> ('a -> 'a) -> 'a -> 'b list -> 'a
Sourceval fold_right1 : ('a -> 'a -> 'a) -> 'a list -> 'a
Sourceval fold_left : ('a -> 'b -> 'a) -> 'a -> 'b list -> 'a
Sourceval rev_map : ('a -> 'b) -> 'a list -> 'b list
Sourceval join_gen : 'a -> 'a list -> 'a list
Sourceval do_withenv : (('a -> 'b) -> 'c -> 'd) -> ('e -> 'a -> 'b * 'e) -> 'e -> 'c -> 'd * 'e
Sourceval map_withenv : ('a -> 'b -> 'c * 'a) -> 'a -> 'b list -> 'c list * 'a
Sourceval map_withkeep : ('a -> 'b) -> 'a list -> ('b * 'a) list
Sourceval collect_accu : ('a -> 'b list) -> 'b list -> 'a list -> 'b list
Sourceval collect : ('a -> 'b list) -> 'a list -> 'b list
Sourceval remove : 'a -> 'a list -> 'a list
Sourceval remove_first : 'a -> 'a list -> 'a list
Sourceval exclude : ('a -> bool) -> 'a list -> 'a list
Sourceval uniq : 'a list -> 'a list
Sourceval uniq_eff : 'a list -> 'a list
Sourceval big_union_eff : 'a list list -> 'a list
Sourceval has_no_duplicate : 'a list -> bool
Sourceval is_set_as_list : 'a list -> bool
Sourceval get_duplicates : 'a list -> 'a list
Sourceval doublon : 'a list -> bool
Sourceval reverse : 'a list -> 'a list
Sourceval rev : 'a list -> 'a list
Sourceval rotate : 'a list -> 'a list
Sourceval map_flatten : ('a -> 'b list) -> 'a list -> 'b list
Sourceval map2 : ('a -> 'b) -> 'a list -> 'b list
Sourceval map3 : ('a -> 'b) -> 'a list -> 'b list
Sourceval maximum : 'a list -> 'a
Sourceval minimum : 'a list -> 'a
Sourceval most_recurring_element : 'a list -> 'a
Sourceval count_elements_sorted_highfirst : 'a list -> ('a * int) list
Sourceval min_with : ('a -> 'b) -> 'a list -> 'a
Sourceval two_mins_with : ('a -> 'b) -> 'a list -> 'a * 'a
Sourceval all_assoc : 'a -> ('a * 'b) list -> 'b list
Sourceval prepare_want_all_assoc : ('a * 'b) list -> ('a * 'b list) list
Sourceval or_list : bool list -> bool
Sourceval and_list : bool list -> bool
Sourceval sum_float : float list -> float
Sourceval sum_int : int list -> int
Sourceval avg_list : int list -> float
Sourceval return_when : ('a -> 'b option) -> 'a list -> 'b
Sourceval grep_with_previous : ('a -> 'a -> bool) -> 'a list -> 'a list
Sourceval iter_with_previous : ('a -> 'a -> unit) -> 'a list -> unit
Sourceval iter_with_previous_opt : ('a option -> 'a -> unit) -> 'a list -> unit
Sourceval iter_with_before_after : ('a list -> 'a -> 'a list -> unit) -> 'a list -> unit
Sourceval get_pair : 'a list -> ('a * 'a) list
Sourceval permutation : 'a list -> 'a list list
Sourceval remove_elem_pos : int -> 'a list -> 'a list
Sourceval insert_elem_pos : ('a * int) -> 'a list -> 'a list
Sourceval uncons_permut : 'a list -> (('a * int) * 'a list) list
Sourceval uncons_permut_lazy : 'a list -> (('a * int) * 'a list Lazy.t) list
Sourceval pack_sorted : ('a -> 'a -> bool) -> 'a list -> 'a list list
Sourceval keep_best : (('a * 'a) -> 'a option) -> 'a list -> 'a list
Sourceval sorted_keep_best : ('a -> 'a -> 'a option) -> 'a list -> 'a list
Sourceval cartesian_product : 'a list -> 'b list -> ('a * 'b) list
Sourceval surEnsemble : 'a list -> 'a list list -> 'a list list
Sourceval realCombinaison : 'a list -> 'a list list
Sourceval combinaison : 'a list -> ('a * 'a) list
Sourceval insere : 'a -> 'a list list -> 'a list list
Sourceval insereListeContenant : 'a list -> 'a -> 'a list list -> 'a list list
Sourceval fusionneListeContenant : ('a * 'a) -> 'a list list -> 'a list list
Sourceval array_find_index : (int -> bool) -> 'a array -> int
Sourceval array_find_index_via_elem : ('a -> bool) -> 'a array -> int
Sourcetype idx =
  1. | Idx of int
Sourceval next_idx : idx -> idx
Sourceval int_of_idx : idx -> int
Sourceval array_find_index_typed : (idx -> bool) -> 'a array -> idx
Sourcetype 'a matrix = 'a array array
Sourceval map_matrix : ('a -> 'b) -> 'a matrix -> 'b matrix
Sourceval make_matrix_init : nrow:int -> ncolumn:int -> (int -> int -> 'a) -> 'a matrix
Sourceval iter_matrix : (int -> int -> 'a -> unit) -> 'a matrix -> unit
Sourceval nb_rows_matrix : 'a matrix -> int
Sourceval nb_columns_matrix : 'a matrix -> int
Sourceval rows_of_matrix : 'a matrix -> 'a list list
Sourceval columns_of_matrix : 'a matrix -> 'a list list
Sourceval all_elems_matrix_by_row : 'a matrix -> 'a list
Sourcetype 'a set = 'a list
Sourceval empty_set : 'a set
Sourceval insert_set : 'a -> 'a set -> 'a set
Sourceval single_set : 'a -> 'a set
Sourceval set : 'a list -> 'a set
Sourceval is_set : 'a list -> bool
Sourceval exists_set : ('a -> bool) -> 'a set -> bool
Sourceval forall_set : ('a -> bool) -> 'a set -> bool
Sourceval filter_set : ('a -> bool) -> 'a set -> 'a set
Sourceval fold_set : ('a -> 'b -> 'a) -> 'a -> 'b set -> 'a
Sourceval map_set : ('a -> 'b) -> 'a set -> 'b set
Sourceval member_set : 'a -> 'a set -> bool
Sourceval find_set : ('a -> bool) -> 'a list -> 'a
Sourceval sort_set : ('a -> 'a -> int) -> 'a list -> 'a list
Sourceval iter_set : ('a -> unit) -> 'a list -> unit
Sourceval top_set : 'a set -> 'a
Sourceval inter_set : 'a set -> 'a set -> 'a set
Sourceval union_set : 'a set -> 'a set -> 'a set
Sourceval minus_set : 'a set -> 'a set -> 'a set
Sourceval union_all : 'a set list -> 'a set
Sourceval big_union_set : ('a -> 'b set) -> 'a set -> 'b set
Sourceval card_set : 'a set -> int
Sourceval include_set : 'a set -> 'a set -> bool
Sourceval equal_set : 'a set -> 'a set -> bool
Sourceval include_set_strict : 'a set -> 'a set -> bool
Sourceval ($*$) : 'a set -> 'a set -> 'a set
Sourceval ($+$) : 'a set -> 'a set -> 'a set
Sourceval ($-$) : 'a set -> 'a set -> 'a set
Sourceval ($?$) : 'a -> 'a set -> bool
Sourceval ($<$) : 'a set -> 'a set -> bool
Sourceval ($<=$) : 'a set -> 'a set -> bool
Sourceval ($=$) : 'a set -> 'a set -> bool
Sourceval ($@$) : 'a list -> 'a list -> 'a list
Sourceval nub : 'a list -> 'a list
Sourceval diff_set_eff : 'a list -> 'a list -> 'a list * 'a list * 'a list
Sourcemodule StringSet : sig ... end
Sourcetype ('a, 'b) assoc = ('a * 'b) list
Sourceval assoc_to_function : ('a, 'b) assoc -> 'a -> 'b
Sourceval empty_assoc : ('a, 'b) assoc
Sourceval fold_assoc : ('a -> 'b -> 'a) -> 'a -> 'b list -> 'a
Sourceval insert_assoc : 'a -> 'a list -> 'a list
Sourceval map_assoc : ('a -> 'b) -> 'a list -> 'b list
Sourceval filter_assoc : ('a -> bool) -> 'a list -> 'a list
Sourceval assoc : 'a -> ('a * 'b) list -> 'b
Sourceval keys : ('a * 'b) list -> 'a list
Sourceval lookup : 'a -> ('a * 'b) list -> 'b
Sourceval del_assoc : 'a -> ('a * 'b) list -> ('a * 'b) list
Sourceval replace_assoc : ('a * 'b) -> ('a * 'b) list -> ('a * 'b) list
Sourceval apply_assoc : 'a -> ('b -> 'b) -> ('a * 'b) list -> ('a * 'b) list
Sourceval big_union_assoc : ('a -> 'b set) -> 'a list -> 'b set
Sourceval assoc_reverse : ('a * 'b) list -> ('b * 'a) list
Sourceval assoc_map : ('a * 'b) list -> ('a * 'b) list -> ('a * 'a) list
Sourceval lookup_list : 'a -> ('a, 'b) assoc list -> 'b
Sourceval lookup_list2 : 'a -> ('a, 'b) assoc list -> 'b * int
Sourceval assoc_opt : 'a -> ('a, 'b) assoc -> 'b option
Sourceval assoc_with_err_msg : 'a -> ('a, 'b) assoc -> 'b
Sourcetype order =
  1. | HighFirst
  2. | LowFirst
Sourceval compare_order : order -> 'a -> 'a -> int
Sourceval sort_by_val_lowfirst : ('a, 'b) assoc -> ('a * 'b) list
Sourceval sort_by_val_highfirst : ('a, 'b) assoc -> ('a * 'b) list
Sourceval sort_by_key_lowfirst : ('a, 'b) assoc -> ('a * 'b) list
Sourceval sort_by_key_highfirst : ('a, 'b) assoc -> ('a * 'b) list
Sourceval sortgen_by_key_lowfirst : ('a, 'b) assoc -> ('a * 'b) list
Sourceval sortgen_by_key_highfirst : ('a, 'b) assoc -> ('a * 'b) list
Sourcemodule IntMap : sig ... end
Sourceval intmap_to_list : 'a IntMap.t -> (IntMap.key * 'a) list
Sourceval intmap_string_of_t : 'a -> 'b -> string
Sourcemodule IntIntMap : sig ... end
Sourceval intintmap_to_list : 'a IntIntMap.t -> (IntIntMap.key * 'a) list
Sourceval intintmap_string_of_t : 'a -> 'b -> string
Sourceval hcreate : unit -> ('a, 'b) Hashtbl.t
Sourceval hadd : ('a * 'b) -> ('a, 'b) Hashtbl.t -> unit
Sourceval hmem : 'a -> ('a, 'b) Hashtbl.t -> bool
Sourceval hfind : 'a -> ('a, 'b) Hashtbl.t -> 'b
Sourceval hreplace : ('a * 'b) -> ('a, 'b) Hashtbl.t -> unit
Sourceval hiter : ('a -> 'b -> unit) -> ('a, 'b) Hashtbl.t -> unit
Sourceval hfold : ('a -> 'b -> 'c -> 'c) -> ('a, 'b) Hashtbl.t -> 'c -> 'c
Sourceval hremove : 'a -> ('a, 'b) Hashtbl.t -> unit
Sourceval hfind_default : 'a -> (unit -> 'b) -> ('a, 'b) Hashtbl.t -> 'b
Sourceval hfind_option : 'a -> ('a, 'b) Hashtbl.t -> 'b option
Sourceval hupdate_default : 'a -> update:('b -> 'b) -> default:(unit -> 'b) -> ('a, 'b) Hashtbl.t -> unit
Sourceval add1 : int -> int
Sourceval cst_zero : unit -> int
Sourceval hash_to_list : ('a, 'b) Hashtbl.t -> ('a * 'b) list
Sourceval hash_to_list_unsorted : ('a, 'b) Hashtbl.t -> ('a * 'b) list
Sourceval hash_of_list : ('a * 'b) list -> ('a, 'b) Hashtbl.t
Sourceval hkeys : ('a, 'b) Hashtbl.t -> 'a list
Sourceval hunion : ('a, 'b) Hashtbl.t -> ('a, 'b) Hashtbl.t -> unit
Sourcetype 'a hashset = ('a, bool) Hashtbl.t
Sourceval hash_hashset_add : 'a -> 'b -> ('a, 'b hashset) Hashtbl.t -> unit
Sourceval hashset_union : 'a hashset -> 'a hashset -> unit
Sourceval hashset_inter : 'a hashset -> 'a hashset -> unit
Sourceval hashset_to_set : < fromlist : 'a list -> 'c.. > -> ('a, 'b) Hashtbl.t -> 'c
Sourceval hashset_to_list : 'a hashset -> 'a list
Sourceval hashset_of_list : 'a list -> 'a hashset
Sourcetype ('a, 'b) hash_with_default = < add : 'a -> 'b -> unit ; to_list : ('a * 'b) list ; to_h : ('a, 'b) Hashtbl.t ; update : 'a -> ('b -> 'b) -> unit ; assoc : 'a -> 'b >
Sourceval hash_with_default : (unit -> 'b) -> < add : 'a -> 'b -> unit ; to_list : ('a * 'b) list ; to_h : ('a, 'b) Hashtbl.t ; update : 'a -> ('b -> 'b) -> unit ; assoc : 'a -> 'b >
Sourcetype 'a stack = 'a list
Sourceval empty_stack : 'a stack
Sourceval top : 'a stack -> 'a
Sourceval pop : 'a stack -> 'a stack
Sourceval top_option : 'a stack -> 'a option
Sourceval push : 'a -> 'a stack ref -> unit
Sourceval pop2 : 'a stack ref -> 'a
Sourcetype 'a undo_stack = 'a list * 'a list
Sourceval empty_undo_stack : 'a undo_stack
Sourceval push_undo : 'a -> 'a undo_stack -> 'a undo_stack
Sourceval top_undo : 'a undo_stack -> 'a
Sourceval pop_undo : 'a undo_stack -> 'a undo_stack
Sourceval redo_undo : 'a undo_stack -> 'a undo_stack
Sourceval undo_pop : 'a undo_stack -> 'a undo_stack
Sourceval top_undo_option : 'a undo_stack -> 'a option
Sourcetype 'a tree2 =
  1. | Tree of 'a * 'a tree2 list
Sourceval tree2_iter : ('a -> unit) -> 'a tree2 -> unit
Sourcetype ('a, 'b) tree =
  1. | Node of 'a * ('a, 'b) tree list
  2. | Leaf of 'b
Sourceval map_tree : fnode:('a -> 'abis) -> fleaf:('b -> 'bbis) -> ('a, 'b) tree -> ('abis, 'bbis) tree
Sourceval dirs_and_base_of_file : path -> string list * string
Sourceval tree_of_files : filename list -> (dirname, string * filename) tree
Sourcetype 'a treeref =
  1. | NodeRef of 'a * 'a treeref list ref
Sourceval treeref_node_iter : (('a * 'a treeref list ref) -> unit) -> 'a treeref -> unit
Sourceval treeref_node_iter_with_parents : (('a * 'a treeref list ref) -> 'a list -> unit) -> 'a treeref -> unit
Sourceval find_treeref : (('a * 'a treeref list ref) -> bool) -> 'a treeref -> 'a treeref
Sourceval treeref_children_ref : 'a treeref -> 'a treeref list ref
Sourceval find_treeref_with_parents_some : (('a * 'a treeref list ref) -> 'a list -> 'c option) -> 'a treeref -> 'c
Sourceval find_multi_treeref_with_parents_some : (('a * 'a treeref list ref) -> 'a list -> 'c option) -> 'a treeref -> 'c list
Sourcetype ('a, 'b) treeref2 =
  1. | NodeRef2 of 'a * ('a, 'b) treeref2 list ref
  2. | LeafRef2 of 'b
Sourceval find_treeref2 : (('a * ('a, 'b) treeref2 list ref) -> bool) -> ('a, 'b) treeref2 -> ('a, 'b) treeref2
Sourceval treeref_node_iter_with_parents2 : (('a * ('a, 'b) treeref2 list ref) -> 'a list -> unit) -> ('a, 'b) treeref2 -> unit
Sourceval treeref_node_iter2 : (('a * ('a, 'b) treeref2 list ref) -> unit) -> ('a, 'b) treeref2 -> unit
Sourcetype 'a graph = 'a set * ('a * 'a) set
Sourceval add_node : 'a -> 'a graph -> 'a graph
Sourceval del_node : 'a -> 'a graph -> 'a graph
Sourceval add_arc : ('a * 'a) -> 'a graph -> 'a graph
Sourceval del_arc : ('a * 'a) -> 'a graph -> 'a graph
Sourceval successors : 'a -> 'a graph -> 'a set
Sourceval predecessors : 'a -> 'a graph -> 'a set
Sourceval nodes : 'a graph -> 'a set
Sourceval fold_upward : ('a -> 'b -> 'a) -> 'b set -> 'a -> 'b graph -> 'a
Sourceval empty_graph : 'a list * 'b list
Sourceval map : ('a -> 'b) -> 'a list -> 'b list
Sourceval filter : ('a -> bool) -> 'a list -> 'a list
Sourceval fold : ('a -> 'b -> 'a) -> 'a -> 'b list -> 'a
Sourceval member : 'a -> 'a list -> bool
Sourceval iter : ('a -> unit) -> 'a list -> unit
Sourceval find : ('a -> bool) -> 'a list -> 'a
Sourceval exists : ('a -> bool) -> 'a list -> bool
Sourceval forall : ('a -> bool) -> 'a list -> bool
Sourceval big_union : ('a -> 'b set) -> 'a list -> 'b set
Sourceval empty_list : 'a list
Sourceval sort : 'a list -> 'a list
Sourceval length : 'a list -> int
Sourceval null : 'a list -> bool
Sourceval head : 'a list -> 'a
Sourceval tail : 'a list -> 'a list
Sourceval is_singleton : 'a list -> bool
Sourcetype vector = float * float * float
Sourcetype point = vector
Sourcetype color = vector
Sourceval dotproduct : (vector * vector) -> float
Sourceval vector_length : vector -> float
Sourceval minus_point : (point * point) -> vector
Sourceval distance : (point * point) -> float
Sourceval normalise : vector -> vector
Sourceval mult_coeff : vector -> float -> vector
Sourceval add_vector : vector -> vector -> vector
Sourceval mult_vector : vector -> vector -> vector
Sourceval sum_vector : vector list -> vector
Sourcetype pixel = int * int * int
Sourceval write_ppm : int -> int -> pixel list -> filename -> unit
Sourceval test_ppm1 : unit -> unit
Sourcetype diff =
  1. | Match
  2. | BnotinA
  3. | AnotinB
Sourceval diff : (int -> int -> diff -> unit) -> (string list * string list) -> unit
Sourceval diff2 : (int -> int -> diff -> unit) -> (string * string) -> unit
Sourceval contain_any_token_with_egrep : string list -> filename -> bool
Sourceval parserCommon : Lexing.lexbuf -> ('a -> Lexing.lexbuf -> 'b) -> 'a -> 'b
Sourceval getDoubleParser : ('a -> Lexing.lexbuf -> 'b) -> 'a -> (string -> 'b) * (string -> 'b)
Sourcetype ('a, 'b) scoped_env = ('a, 'b) assoc list
Sourceval lookup_env : 'a -> ('a, 'b) scoped_env -> 'b
Sourceval member_env_key : 'a -> ('a, 'b) scoped_env -> bool
Sourceval new_scope : ('a, 'b) scoped_env ref -> unit
Sourceval del_scope : ('a, 'b) scoped_env ref -> unit
Sourceval do_in_new_scope : ('a, 'b) scoped_env ref -> (unit -> unit) -> unit
Sourceval add_in_scope : ('a, 'b) scoped_env ref -> ('a * 'b) -> unit
Sourcetype ('a, 'b) scoped_h_env = {
  1. scoped_h : ('a, 'b) Hashtbl.t;
  2. scoped_list : ('a, 'b) assoc list;
}
Sourceval empty_scoped_h_env : unit -> ('a, 'b) scoped_h_env
Sourceval clone_scoped_h_env : ('a, 'b) scoped_h_env -> ('a, 'b) scoped_h_env
Sourceval lookup_h_env : 'a -> ('a, 'b) scoped_h_env -> 'b
Sourceval member_h_env_key : 'a -> ('a, 'b) scoped_h_env -> bool
Sourceval new_scope_h : ('a, 'b) scoped_h_env ref -> unit
Sourceval del_scope_h : ('a, 'b) scoped_h_env ref -> unit
Sourceval do_in_new_scope_h : ('a, 'b) scoped_h_env ref -> (unit -> unit) -> unit
Sourceval add_in_scope_h : ('a, 'b) scoped_h_env ref -> ('a * 'b) -> unit
Sourcetype 'a cached = 'a serialized_maybe ref
Sourceand 'a serialized_maybe =
  1. | Serial of string
  2. | Unfold of 'a
Sourceval serial : 'a -> 'a cached
Sourceval unserial : 'a cached -> 'a
Sourceval cmdline_flags_devel : unit -> Arg_helpers.cmdline_options
Sourceval cmdline_flags_verbose : unit -> Arg_helpers.cmdline_options
Sourceval cmdline_flags_other : unit -> Arg_helpers.cmdline_options
Sourceval cmdline_actions : unit -> Arg_helpers.cmdline_actions
OCaml

Innovation. Community. Security.