package textutils
Text output utilities
Install
Dune Dependency
Authors
Maintainers
Sources
textutils-v0.14.0.tar.gz
sha256=14a2f8393159fcc43bfac82d0100364dc874fee94447aced80ec8ae99e2949eb
md5=32980ca8c5c6128273bb6f662efc7c60
doc/textutils.ascii_table/Ascii_table/index.html
Module Ascii_table
include module type of struct include Ascii_table_kernel end
module Attr = Ascii_table_kernel.Attr
module Align = Ascii_table_kernel.Align
module Display = Ascii_table_kernel.Display
module Column = Ascii_table_kernel.Column
module Screen = Ascii_table_kernel.Screen
module Table_char = Ascii_table_kernel.Table_char
val output : (_, oc:Core.Out_channel.t -> unit) renderer
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. *
val to_string_noattr : (_, string) renderer
val to_string : (_, string) renderer
val simple_list_table :
?index:bool ->
?limit_width_to:int ->
?oc:Core.Out_channel.t ->
?display:Display.t ->
string list ->
string list list ->
unit
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>