Text_block.BoxedCombinators for building up cell structures separated by box characters: e.g.
{[
let a = text "A" in
let b = text "B" in
let c = text "C" in
boxed Boxed.(hcat [vcat [cell a; cell b]; c])
]}
and
{[
let a = text "A" in
let b = text "B" in
let c = text "C" in
boxed Boxed.(hcat [
vcat [cell a; cell b];
c;
vcat [cell b; cell a]
])
]}
produce
┌───┬───┐ ┌───┬───┬───┐
│ A │ │ │ A │ │ B │
├───┤ C │ and ├───┤ C ├───┤
│ B │ │ │ B │ │ A │
└───┴───┘ └───┴───┴───┘
respectively.type outer_t := tval sexp_of_t : t -> Sexplib0.Sexp.tAn outlined table cell, possibly with extra space (padding) on the sides.
hpadding defaults to 1. vpadding defaults to 0.
Vertical concatenation with inserts horizontal separator lines.