Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Std_aligners.StringAligner
SourceA default ALIGNER in which contents are string. Very straightforward.
val node :
?fill_with:char ->
?align:Alignment.alignment ->
tree_contents list ->
tree_contents
Compute the tree_size of a tree_contents.
Compute the tree_size of a list of tree_contents. Return None if the list is empty.
Print a tree_contents with respect to a given tree_size. This tree_size must be bigger than the tree_size corresponding to the tree_contents. Otherwise the behavior is undefined. Be careful.
Print a list of tree_contents in a consistent way: it uses the smallest tree_size computed by joining all tree_size. This function must compute and merge all tree_size before starting. This is a good entrypoint.
val kprint_table :
(Format.formatter -> unit) ->
Format.formatter ->
tree_contents list ->
unit
Like print_table but call the first parameter at the end of each line.
Print in a list of string a list of tree_contents in a consistent way: it uses the smallest tree_size computed by joining all tree_size. This function must compute and merge all tree_size before starting. This is a good entrypoint.