package textutils

  1. Overview
  2. Docs
Text output utilities

Install

Dune Dependency

Authors

Maintainers

Sources

textutils-v0.12.0.tar.gz
sha256=811035b63ecc0fc63f4ce07ca15140cefdbc6118ed7b419aa1bfdb81bee8f5d8
md5=c6be835c68943135ccca40a034a1eb28

doc/textutils.ascii_table/Ascii_table/Column/index.html

Module Ascii_table.Column

type 'a t
val create : ?align:Align.t -> ?min_width:int -> ?max_width:int -> ?show:[ `Yes | `No | `If_not_empty ] -> string -> ('a -> string) -> 'a t

creates a column given the header and the to-string function

val create_attr : ?align:Align.t -> ?min_width:int -> ?max_width:int -> ?show:[ `Yes | `No | `If_not_empty ] -> string -> ('a -> Attr.t list * string) -> 'a t

like create, except that the to_string function must provide a list of attributes.

OCaml

Innovation. Community. Security.