package molenc

  1. Overview
  2. Docs

Module Molenc.UtlsSource

module A = BatArray
module Ht = BatHashtbl
module L = BatList
Sourcemodule Log = Dolog.Log
module S = BatString
Sourcetype filename = string
Sourceval tap : ('a -> 'b) -> 'a -> 'a
Sourceval fst3 : ('a * 'b * 'c) -> 'a
Sourceval create_tmp_filename : unit -> string
Sourceval mkfifo : filename -> unit
Sourceval enforce : bool -> string -> unit
Sourceval enforce_f : bool -> (unit -> string) -> unit
Sourceval with_out_file : filename -> (out_channel -> 'a) -> 'a
Sourceval with_temp_out_file : (filename -> 'a) -> 'a
Sourceval with_in_file : filename -> (in_channel -> 'a) -> 'a
Sourceval with_in_file2 : string -> string -> (in_channel -> in_channel -> 'a) -> 'a
Sourceval with_in_file3 : string -> string -> string -> (in_channel -> in_channel -> in_channel -> 'a) -> 'a
Sourceval with_infile_outfile : filename -> filename -> (in_channel -> out_channel -> 'a) -> 'a
Sourceval lines_of_file : filename -> string list
Sourceval lines_to_file : filename -> string list -> unit
Sourceval string_list_to_file : filename -> string list -> unit
Sourceval read_n_lines : int -> in_channel -> string list
Sourceval maybe_extract_comment_header : filename -> string option * string list
Sourceval iter_on_lines_of_file : string -> (string -> 'a) -> unit
Sourceval iteri_on_lines_of_file : string -> (int -> string -> 'a) -> unit
Sourceval map_on_file : filename -> (in_channel -> 'a) -> 'a list
Sourceval map_on_lines_of_file : filename -> (string -> 'a) -> 'a list
Sourceval maybe_map_on_lines_of_file : filename -> (string -> 'a option) -> 'a list
Sourceval mapi_on_lines_of_file : filename -> (int -> string -> 'a) -> 'a list
Sourceval skip_blocks : int -> ('a -> 'b) -> 'a -> unit
Sourceval read_lines : filename -> string list
Sourceval write_lines : string list -> filename -> unit
Sourceval output_lines : string list -> filename -> unit
Sourceval filter_lines_of_file : filename -> (string -> bool) -> string list
Sourceval get_command_output : string -> string
Sourceval fork_out_cmd : string -> int
Sourceval command_exists : string -> string option
Sourceval run_command : string -> unit
Sourceval get_env : string -> string option
Sourceval find_command : string -> string -> string option
Sourceval filename_is_absolute : string -> bool
Sourceval relative_to_absolute : string -> string
Sourceval remove_string_prefix : string -> string -> string
Sourceval string_contains_non_binary_digit : Str.regexp
Sourceval string_contains_only_zeros_or_ones : string -> bool
Sourceval string_contains_non_digits_non_sep : Str.regexp
Sourceval string_is_a_list_of_integers : string -> bool
Sourceval may_apply_opt : ('a -> 'b) -> 'a option -> 'b option
Sourceval may_apply : ('a -> unit) -> 'a option -> unit
Sourceval lock_file_for_writing : filename -> bool
Sourceval all_pairs : 'a list -> ('a * 'a) list
Sourceexception Enough_times
Sourceval n_times : int -> (unit -> 'a) -> 'a list * exn
Sourceval push : 'a -> 'a list ref -> unit
Sourceval id : 'a -> 'a
Sourceval one_or_more_spaces : Str.regexp
Sourceval string_of_floats_array : float array -> string
Sourceval enforce_file_extension : string list -> string -> unit
Sourceval m_pi : float
Sourceval prepend : 'a -> 'a list ref -> unit
Sourceval in_bounds : 'a -> 'a -> 'a -> bool
Sourceval list_medianf : float list -> float
Sourceval string_of_array : ?pre:string -> ?sep:string -> ?suf:string -> ('a -> string) -> 'a array -> string
Sourceval save : filename -> 'a -> unit
Sourceval restore : filename -> 'a
Sourceval is_odd : int -> bool
Sourceval is_even : int -> bool
Sourceval get_first_line : filename -> string
Sourceval cut : char -> int -> string -> string
Sourceval get_ncores : unit -> int
Sourceval int_of_bool : bool -> int
Sourceval bool_of_int : int -> bool
Sourceval approx_equal : float -> float -> float -> bool
Sourceval is_nan : float -> bool
Sourceval faverage : float list -> float
Sourceval fmean : float list -> float
Sourceval stddev : float list -> float
Sourceval rank : float array -> float array
Sourceval wilcoxon_rank_sum_to_z : float array -> float array -> float
Sourceval cnd : float -> float
Sourceval wilcoxon_rank_sum_to_p : float array -> float array -> float
Sourceval fincr_by : float ref -> float -> unit
Sourceval int_of_digit_char : char -> int
Sourceval char_of_digit : int -> char
Sourceval string_of_digit : int -> string
Sourceval make_pair : 'a -> 'b -> 'a * 'b
Sourceval list_uniq_count : 'a list -> ('a * int) list
Sourceval time_it : (unit -> 'a) -> float * 'a
Sourceval ceili : float -> int
Sourceval count_lines_of_file : string -> int
Sourceval list_rev_sort : ('a -> 'a -> int) -> 'a list -> 'a list
Sourceval list_really_take : int -> 'a list -> 'a list
Sourceval array_rand_elt : BatRandom.State.t -> 'a array -> 'a
Sourceval prepend_list_with_array : 'a array -> 'a list -> 'a list
Sourceval array_without_elt_at : int -> 'a array -> 'a array
Sourceval list_really_remove_one : 'a list -> 'a -> 'a list
Sourceval array_prepend_to_list : 'a array -> 'a list -> 'a list
Sourceval string_array_concat : string -> string array -> string
Sourceval erfcc : float -> float
Sourceval pearson_a : float array -> float array -> float * float
Sourceval spearman_rank : float array -> float array
Sourceval spearman_a : float array -> float array -> float * float
Sourceval spearman_l : float list -> float list -> float * float
OCaml

Innovation. Community. Security.