package plateau

  1. Overview
  2. Docs
Print a table in a single line

Install

Dune Dependency

Authors

Maintainers

Sources

plateau-0.1.tbz
sha256=4a1b4d90043f4d51c1be6ee6d8c3ca09d1f5abb6e273a50762578d10883b9951
sha512=187ee576ad1a4d15ec11c38f05d0a2844d9d69ea3fa6abdcbe755a0314a9bc3215fadb533ef82b805801d12ae7f0bd06e90fc0cbf4c2ef779b90cfd664850e6d

README.md.html

Plateau

Plateau is an OCaml package for easily printing tables. It contains a single public function print_table_exn : string list list -> unit that prints a formatted table to the terminal.

Example

Code:

print_table_exn([["aaa"; "bbbb"; "ccc"]; ["wwwwwwww"; "x"; "zzzz"]])

Result:

aaa        bbbb    ccc
wwwwwww    x       zzz
OCaml

Innovation. Community. Security.