package quick_print

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
val strings_list : ?prefix:string -> string list -> unit

strings_list ~prefix list prints the list of strings to the standard output with the prefix.

val chars_list : ?prefix:string -> char list -> unit

chars_list ~prefix list prints the list of chars to the standard output with the prefix.

val int_list : ?prefix:string -> int list -> unit

int_list ~prefix list prints the list of integers to the standard output with the prefix.

val float_list : ?prefix:string -> ?precision:int -> float list -> unit

float_list ~prefix ~precision list prints the list of floats to the standard output with a given precision and with the prefix.

val strings_array : ?prefix:string -> string array -> unit

strings_array ~prefix arr converts the arr array to a list and prints it to the standard output with a given prefix.

val chars_array : ?prefix:string -> char array -> unit

chars_array ~prefix arr converts the arr array of characters to a list and prints it to the standard output with a given prefix.

val int_array : ?prefix:string -> int array -> unit

int_array ~prefix arr converts the arr array of integers to a list and prints it to the standard output with a given prefix.

val float_array : ?prefix:string -> ?precision:int -> float array -> unit

float_array ~prefix ~precision arr converts the arr array of floats to a list and prints it with the specified precision and prefix to the standard output.

val hashtable_int_string : ?prefix:string -> (int, string) Hashtbl.t -> unit

hashtable_int_string ~prefix ht prints the entries of a hashtable ht (with integer keys and string values) to the standard output, using the prefix. Each entry is represented as a tuple (key, value).

val hashtable_int_char : ?prefix:string -> (int, char) Hashtbl.t -> unit

hashtable_int_char ~prefix ht prints the entries of a hashtable ht (with integer keys and character values) to the standard output, using the prefix. Each entry is represented as a tuple (key, value).

val hashtable_int_int : ?prefix:string -> (int, int) Hashtbl.t -> unit

hashtable_int_int ~prefix ht prints the entries of a hashtable ht (with integer keys and integer values) to the standard output, using the prefix. Each entry is represented as a tuple (key, value).

val hashtable_int_float : ?prefix:string -> ?precision:int -> (int, float) Hashtbl.t -> unit

hashtable_int_float ~prefix ~precision ht prints the entries of a hashtable ht (with integer keys and floating point values) to the standard output, using the prefix. The floating point values are shown with the given precision. Each entry is represented as a tuple (key, value).

val hashtable_int_string_list : ?prefix:string -> (int, string list) Hashtbl.t -> unit

hashtable_int_string_list ~prefix ht prints the entries of a hashtable ht (with integer keys and list of strings) to the standard output, using the prefix. The strings in each list are joined with '; ' and enclosed in brackets .

val hashtable_int_char_list : ?prefix:string -> (int, char list) Hashtbl.t -> unit

hashtable_int_char_list ~prefix ht prints the entries from the hashtable ht (with integer keys and list of chars) to the standard output, using the prefix. The characters in each list are joined with '; ' and enclosed in brackets .

val hashtable_int_int_list : ?prefix:string -> (int, int list) Hashtbl.t -> unit

hashtable_int_int_list ~prefix ht prints the entries of hashtable ht (with integer keys and list of integers) to the standard output, using the prefix. The integers in each list are joined with '; ' and enclosed in brackets .

val hashtable_int_float_list : ?prefix:string -> ?precision:int -> (int, float list) Hashtbl.t -> unit

hashtable_int_float_list ~prefix ~precision ht prints the entries of the hashtable ht (with integer keys and list of floats) to the standard output, using the prefix. Floating point numbers are formatted with the provided precision. The floats in each list are joined with '; ' and enclosed in brackets .

val hashtable_string_string_list : ?prefix:string -> (string, string list) Hashtbl.t -> unit

hashtable_string_string_list ~prefix ht prints the entries of a hashtable ht (with string keys and list of strings) to the standard output, using the prefix. The strings in each list are joined with '; ' and enclosed in brackets .

val hashtable_string_char_list : ?prefix:string -> (string, char list) Hashtbl.t -> unit

hashtable_string_char_list ~prefix ht prints the entries from the hashtable ht (with string keys and list of chars) to the standard output, using the prefix. The characters in each list are joined with '; ' and enclosed in brackets .

val hashtable_string_int_list : ?prefix:string -> (string, int list) Hashtbl.t -> unit

hashtable_string_int_list ~prefix ht prints the entries of hashtable ht (with string keys and list of integers) to the standard output, using the prefix. The integers in each list are joined with '; ' and enclosed in brackets .

val hashtable_string_float_list : ?prefix:string -> ?precision:int -> (string, float list) Hashtbl.t -> unit

hashtable_string_float_list ~prefix ~precision ht prints the entries of the hashtable ht (with string keys and list of floats) to the standard output, using the prefix. Floating point numbers are formatted with the provided precision. The floats in each list are joined with '; ' and enclosed in brackets .

val hashtable_char_string_list : ?prefix:string -> (char, string list) Hashtbl.t -> unit

hashtable_char_string_list ~prefix ht prints the entries of a hashtable ht (with character keys and list of strings) to the standard output, using the prefix. The strings in each list are joined with '; ' and enclosed in brackets .

val hashtable_char_char_list : ?prefix:string -> (char, char list) Hashtbl.t -> unit

hashtable_char_char_list ~prefix ht prints the entries from the hashtable ht (with char keys and list of chars) to the standard output, using the prefix. The characters in each list are joined with '; ' and enclosed in brackets .

val hashtable_char_int_list : ?prefix:string -> (char, int list) Hashtbl.t -> unit

hashtable_char_int_list ~prefix ht prints the entries of hashtable ht (with character keys and list of integers) to the standard output, using the prefix. The integers in each list are joined with '; ' and enclosed in brackets .

val hashtable_char_float_list : ?prefix:string -> ?precision:int -> (char, float list) Hashtbl.t -> unit

hashtable_char_float_list ~prefix ~precision ht prints the entries of the hashtable ht (with character keys and list of floats) to the standard output, using the prefix. Floating point numbers are formatted with the provided precision. The floats in each list are joined with '; ' and enclosed in brackets .

OCaml

Innovation. Community. Security.