Ascii_tableinclude module type of struct include Ascii_table_kernel endmodule Attr = Ascii_table_kernel.Attrmodule Align = Ascii_table_kernel.Alignmodule Display = Ascii_table_kernel.Displaymodule Column = Ascii_table_kernel.Columnmodule Screen = Ascii_table_kernel.Screenmodule Table_char = Ascii_table_kernel.Table_charmodule Private = Ascii_table_kernel.Privateval cols_and_data_of_strings :
?index:bool ->
?max_col_width:int ->
string list ->
string list list ->
string list Column.t list * string list list @@ portableval output : (_, oc:Core.Out_channel.t -> unit) rendererThe idea is that you have a Column.t list and a list of rows, where each row contains the data for each column. So e.g. 'a could be a record type {col_1 : int; col_2 : string}, where the first column pulls out col_1 and the second column pulls out col_2.
val to_string_noattr : (_, string) renderer @@ portableval to_string : (_, string) renderer @@ portabletype 'rest simple_list :=
?index:bool ->
?display:Display.t ->
?spacing:int ->
?limit_width_to:int ->
?max_col_width:int ->
?header_attr:Attr.t list ->
?bars:[ `Ascii | `Unicode ] ->
?display_empty_rows:bool ->
?prefer_split_on_spaces:bool ->
string list ->
string list list ->
'restsimple_list has the same defaults as renderer unless specified
val simple_list_table : ?oc:Core.Out_channel.t -> unit simple_listval simple_list_table_string : string simple_list @@ portable