package textutils
Text output utilities
Install
Dune Dependency
Authors
Maintainers
Sources
v0.17.0.tar.gz
sha256=b2681af1f4029245a5c187c4f0834ac470ada6ffc69db7c7e219b3244f88b3d5
doc/textutils.ascii_table/Ascii_table/index.html
Module Ascii_table
Source
The 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. *
Source
type '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 ->
'rest
simple_list
has the same defaults as renderer unless specified
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>