package molenc

  1. Overview
  2. Docs
module A = BatArray
module Ht = BatHashtbl
module L = BatList
module LO = Line_oriented
module Log = Dolog.Log
module S = BatString
type filename = string
val tap : ('a -> 'b) -> 'a -> 'a
val fst3 : ('a * 'b * 'c) -> 'a
val mkfifo : filename -> unit
val enforce : bool -> string -> unit
val enforce_f : bool -> (unit -> string) -> unit
val read_n_lines : int -> Stdlib.in_channel -> string list
val maybe_extract_comment_header : filename -> string option * string list
val maybe_map_on_lines_of_file : filename -> (string -> 'a option) -> 'a list
val skip_blocks : int -> ('a -> 'b) -> 'a -> unit
val get_command_output : string -> string
val fork_out_cmd : string -> int
val command_exists : string -> string option
val run_command : string -> unit
val get_env : string -> string option
val find_command : string -> string -> string option
val filename_is_absolute : string -> bool
val relative_to_absolute : string -> string
val remove_string_prefix : string -> string -> string
val string_contains_non_binary_digit : Str.regexp
val string_contains_only_zeros_or_ones : string -> bool
val string_contains_non_digits_non_sep : Str.regexp
val string_is_a_list_of_integers : string -> bool
val may_apply_opt : ('a -> 'b) -> 'a option -> 'b option
exception Enough_times
val n_times : int -> (unit -> 'a) -> 'a list * exn
val id : 'a -> 'a
val one_or_more_spaces : Str.regexp
val string_of_floats_array : float array -> string
val enforce_file_extension : string list -> string -> unit
val m_pi : float
val in_bounds : 'a -> 'a -> 'a -> bool
val list_medianf : float list -> float
val string_of_array : ?pre:string -> ?sep:string -> ?suf:string -> ('a -> string) -> 'a array -> string
val array_of_string : ?pre:string -> ?sep:string -> ?suf:string -> (string -> 'a) -> string -> 'a array
val restore : LO.filename -> 'a
val is_odd : int -> bool
val is_even : int -> bool
val get_first_line : LO.filename -> string
val cut : char -> int -> string -> string
val get_ncores : unit -> int
val int_of_bool : bool -> int
val bool_of_int : int -> bool
val approx_equal : float -> float -> float -> bool
val is_nan : float -> bool
val stddev : float list -> float
val rank : float array -> float array
val wilcoxon_rank_sum_to_z : float array -> float array -> float
val cnd : float -> float
val wilcoxon_rank_sum_to_p : float array -> float array -> float
val fincr_by : float Stdlib.ref -> float -> unit
val int_of_digit_char : char -> int
val char_of_digit : int -> char
val string_of_digit : int -> string
val make_pair : 'a -> 'b -> 'a * 'b
val list_uniq_count : 'a list -> ('a * int) list
val time_it : (unit -> 'a) -> float * 'a
val ceili : float -> int
val list_rev_sort : ('a -> 'a -> int) -> 'a list -> 'a list
val array_rand_elt : BatRandom.State.t -> 'a array -> 'a
val prepend_list_with_array : 'a array -> 'a list -> 'a list
val array_without_elt_at : int -> 'a array -> 'a array
val list_really_remove_one : 'a list -> 'a -> 'a list
val array_prepend_to_list : 'a array -> 'a list -> 'a list
val string_array_concat : string -> string array -> string
val erfcc : float -> float
val pearson_a : float array -> float array -> float * float
val spearman_rank : float array -> float array
val spearman_a : float array -> float array -> float * float
val spearman_l : float list -> float list -> float * float
val rm_file : string -> unit
OCaml

Innovation. Community. Security.