package quick_print
Install
dune-project
Dependency
Authors
Maintainers
Sources
md5=e6d2e0d5d4e217a6fd46f06cd64d2177
sha512=f2d70d76969f286fc55d01750c658db0288e094a63a64c89a9f31663e63a288361ed9a2f480928b65092e89858b66249b242cbbf53bc76b2f9bba09646af2722
doc/quick_print/Quick_print/index.html
Module Quick_printSource
strings_list ~prefix list prints the list of strings to the standard output with the prefix.
string_list_list ?prefix list prints a list of string lists to standard output. Each inner list is formatted as a bracketed, semicolon-separated sequence of strings (e.g., "one; two; three"). The inner lists themselves are also separated by semicolons and spaces. The optional prefix argument (defaulting to an empty string, if omitted) is printed before the list.
string_array_list ?prefix list prints a list of string arrays to standard output. Each inner array is formatted as a bracketed, semicolon-separated sequence of strings enclosed by array brackets (e.g., "|one; two; three|"). The inner arrays themselves are also separated by semicolons and spaces. The optional prefix argument (defaulting to an empty string, if omitted) is printed before the list.
string_array_array ?prefix arr prints an array of string arrays to standard output. Each inner array is formatted as a bracketed, semicolon-separated sequence of strings enclosed by array brackets (e.g., "|one; two; three|"). The inner arrays themselves are also separated by semicolons and spaces. The optional prefix argument (defaulting to an empty string, if omitted) is printed before the array.
chars_list ~prefix list prints the list of chars to the standard output with the prefix.
char_list_list ?prefix list prints a list of char lists to standard output. Each inner list is formatted as a bracketed, semicolon-separated sequence of characters (e.g., "a; b; c"). The inner lists themselves are also separated by semicolons and spaces. The optional prefix argument (defaulting to an empty string, if omitted) is printed before the list.
char_array_list ?prefix list prints a list of character arrays to standard output. Each inner array is formatted as a bracketed, semicolon-separated sequence of characters enclosed by array brackets (e.g., "|'a'; 'b'; 'c'|"). The inner arrays themselves are also separated by semicolons and spaces. The optional prefix argument (defaulting to an empty string, if omitted) is printed before the list.
char_array_array ?prefix arr prints an array of char arrays to standard output. Each inner array is formatted as a bracketed, semicolon-separated sequence of chars enclosed by array brackets (e.g., "|a; b; c|"). The inner arrays themselves are also separated by semicolons and spaces. The optional prefix argument (defaulting to an empty string, if omitted) is printed before the array.
int_list ~prefix list prints the list of integers to the standard output with the prefix.
int_list_list ?prefix list prints a list of int lists to standard output. Each inner list is formatted as a bracketed, semicolon-separated sequence of integers (e.g., "1; 2; 3"). The inner lists themselves are also separated by semicolons and spaces. The optional prefix argument (defaulting to an empty string, if omitted) is printed before the list.
int_array_list ?prefix list prints a list of integer arrays to standard output. Each inner array is formatted as a bracketed, semicolon-separated sequence of integers enclosed by array brackets (e.g., "|1; 2; 3|"). The inner arrays themselves are also separated by semicolons and spaces. The optional prefix argument (defaulting to an empty string, if omitted) is printed before the list.
int_array_array ?prefix arr prints an array of integer arrays to standard output. Each inner array is formatted as a bracketed, semicolon-separated sequence of integers enclosed by array brackets (e.g., "|1; 2; 3|"). The inner arrays themselves are also separated by semicolons and spaces. The optional prefix argument (defaulting to an empty string, if omitted) is printed before the array.
float_list ~prefix ~precision list prints the list of floats to the standard output with a given precision and with the prefix.
float_list_list ?prefix ?precision list prints a list of float lists to standard output. Each inner list is formatted as a bracketed, semicolon-separated sequence of floats (e.g., "1.23; 4.56; 7.89"), with precision decimal places. The inner lists themselves are also separated by semicolons and spaces. The optional prefix argument (defaulting to an empty string, if omitted) is printed before the list. The optional precision argument (defaulting to 2 if omitted) specifies the number of decimal places for the floating-point values.
float_array_list ?prefix ?precision list prints a list of float arrays to standard output. Each inner array is formatted as a bracketed, semicolon-separated sequence of floats enclosed by array brackets (e.g., "|1.00; 2.00; 3.00|"). The inner arrays themselves are also separated by semicolons and spaces. The optional prefix argument (defaulting to an empty string, if omitted) is printed before the list. The optional precision argument (defaulting to 2, if omitted) determines the number of decimal places for each float.
float_array_array ?prefix ?precision arr prints an array of float arrays to standard output. Each inner array is formatted as a bracketed, semicolon-separated sequence of floats enclosed by array brackets (e.g., "|1.00; 2.00; 3.00|"). The inner arrays themselves are also separated by semicolons and spaces. The optional prefix argument (defaulting to an empty string, if omitted) is printed before the array. The optional precision argument specifies the number of decimal places for the floats (defaulting to 2 if omitted).
string_string_tuple_list ?prefix list prints a list of (string, string) tuples to standard output. Each tuple is formatted as (string1, string2). Tuples are separated by a semicolon and a space. The optional prefix argument (defaulting to an empty string if omitted) is printed before the list.
string_char_tuple_list ?prefix list prints a list of (string, char) tuples to standard output. Each tuple is formatted as (string, c). Tuples are separated by a semicolon and a space. The optional prefix argument (defaulting to an empty string if omitted) is printed before the list.
string_int_tuple_list ?prefix list prints a list of (string, int) tuples to standard output. Each tuple is formatted as (string, n). Tuples are separated by a semicolon and a space. The optional prefix argument (defaulting to an empty string if omitted) is printed before the list.
val string_float_tuple_list :
?prefix:string ->
?precision:int ->
(string * float) list ->
unitstring_float_tuple_list ?prefix ?precision list prints a list of (string, float) tuples to standard output. Each tuple is formatted as (string, f), where f has precision decimal places. Tuples are separated by a semicolon and a space. The optional prefix argument (defaulting to an empty string if omitted) is printed before the list. The optional precision argument (defaulting to 2 if omitted) sets the number of decimal places for floats.
char_string_tuple_list ?prefix list prints a list of (char, string) tuples to standard output. Each tuple is formatted as (c, string). Tuples are separated by a semicolon and a space. The optional prefix argument (defaulting to an empty string if omitted) is printed before the list.
char_char_tuple_list ?prefix list prints a list of (char, char) tuples to standard output. Each tuple is formatted as (c1, c2). Tuples are separated by a semicolon and a space. The optional prefix argument (defaulting to an empty string if omitted) is printed before the list.
char_int_tuple_list ?prefix list prints a list of (char, int) tuples to standard output. Each tuple is formatted as (c, n). Tuples are separated by a semicolon and a space. The optional prefix argument (defaulting to an empty string if omitted) is printed before the list.
char_float_tuple_list ?prefix ?precision list prints a list of (char, float) tuples on standard output. Each tuple is formatted as (c, f.##), where f has precision decimal places. Tuples are separated by a semicolon and a space. The optional prefix argument (defaulting to an empty string if omitted) will be printed before the list. The optional precision argument (defaulting to 2 if omitted) sets the number of decimal places for floats.
int_string_tuple_list ?prefix list prints a list of (int, string) tuples to standard output. Each tuple is formatted as (n, string). Tuples are separated by a semicolon and a space. The optional prefix argument (defaulting to an empty string if omitted) is printed before the list.
int_char_tuple_list ?prefix list prints a list of (int, char) tuples to standard output. Each tuple is formatted as (n, c). Tuples are separated by a semicolon and a space. The optional prefix argument (defaulting to an empty string if omitted) is printed before the list.
int_int_tuple_list ?prefix list prints a list of (int, int) tuples to standard output. Each tuple is formatted as (n, m). Tuples are separated by a semicolon and a space. The optional prefix argument (defaulting to an empty string if omitted) is printed before the list.
int_float_tuple_list ?prefix ?precision list prints a list of (int, float) tuples to standard output. Each tuple is formatted as (n, f), where f is a float with precision decimal places. Tuples are separated by a semicolon and a space. The optional prefix argument (defaulting to an empty string if omitted) is printed before the list. The optional precision argument (defaulting to 2 if omitted) sets the number of decimal places for float.
val float_string_tuple_list :
?prefix:string ->
?precision:int ->
(float * string) list ->
unitfloat_string_tuple_list ?prefix ?precision list prints a list of (float, string) tuples to standard output. Each tuple is formatted as (f, string), where f is a float with precision decimal places. Tuples are separated by a semicolon and a space. The optional prefix argument (defaulting to an empty string if omitted) is printed before the list. The optional precision argument (defaulting to 2 if omitted) sets the number of decimal places for the float.
float_char_tuple_list ?prefix ?precision list prints a list of (float, char) tuples to standard output. Each tuple is formatted as (f, c), where f is a float with precision decimal places. Tuples are separated by a semicolon and a space. The optional prefix argument (defaulting to an empty string if omitted) is printed before the list. The optional precision argument (defaulting to 2 if omitted) sets the number of decimal places for the float.
float_int_tuple_list ?prefix ?precision list prints a list of (float, int) tuples to standard output. Each tuple is formatted as (f, n), where f is a float with precision decimal places. Tuples are separated by a semicolon and a space. The optional prefix argument (defaulting to an empty string if omitted) is printed before the list. The optional precision argument (defaulting to 2 if omitted) sets the number of decimal places for the float.
float_float_tuple_list ?prefix ?precision list prints a list of (float, float) tuples to standard output. Each tuple is formatted as (f1, f2), where f1 and f2 are floats with precision decimal places. Tuples are separated by a semicolon and a space. The optional prefix argument (defaulting to an empty string if omitted) is printed before the list. The optional precision argument (defaulting to 2 if omitted) sets the number of decimal places for the floats.
strings_array ~prefix arr converts the arr array to a list and prints it to the standard output with a given prefix.
chars_array ~prefix arr converts the arr array of characters to a list and prints it to the standard output with a given prefix.
int_array ~prefix arr converts the arr array of integers to a list and prints it to the standard output with a given prefix.
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.
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).
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).
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).
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).
hashtable_string_string ~prefix ht prints the entries of a hashtable ht (with string keys and string values) to the standard output, using the prefix. Each entry is represented as a tuple (key, value).
hashtable_string_char ~prefix ht prints the entries of a hashtable ht (with string keys and character values) to the standard output, using the prefix. Each entry is represented as a tuple (key, value).
hashtable_int_int ~prefix ht prints the entries of a hashtable ht (with string keys and integer values) to the standard output, using the prefix. Each entry is represented as a tuple (key, value).
val hashtable_string_float :
?prefix:string ->
?precision:int ->
(string, float) Hashtbl.t ->
unithashtable_int_float ~prefix ~precision ht prints the entries of a hashtable ht (with string 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).
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 .
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 .
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 ->
unithashtable_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 .
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 .
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 .
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 ->
unithashtable_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 .
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 .
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 .
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 ->
unithashtable_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 .
tuple_strings_list_strings_list ?prefix (list1, list2) prints the tuple of string lists (list1, list2) to the standard output. Each string from the lists is separated by a semicolon and a space "; ". The tuple is presented in this string format: "(list1, list2)".
tuple_chars_list_chars_list ?prefix (list1, list2) prints optional prefix and the tuple of character lists (list1, list2) to the standard output, with each character separated by a semicolon and a space "; ". The tuple is presented in this string format: "(list1, list2)".
tuple_ints_list_ints_list ?prefix (list1, list2) prints optional prefix and the tuple of integer lists (list1, list2) to the standard output, with each integer separated by a semicolon and a space "; ". The tuple is presented in this string format: "(list1, list2)".
val tuple_floats_list_floats_list :
?prefix:string ->
?precision:int ->
(float list * float list) ->
unittuple_floats_list_floats_list ?prefix ?precision (list1, list2) prints the optional prefix and the tuple of float lists (list1, list2) as a formatted string with each number separated by a semicolon and a space "; ". The precision parameter defines how many decimal places each float should have, defaulting to 2. The tuple is presented in this stri ng format: "(list1, list2)".