package printbox

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t = [
  1. | `Empty
  2. | `Pad of t
  3. | `Text of string
  4. | `Vlist of t list
  5. | `Hlist of t list
  6. | `Table of t array array
  7. | `Tree of t * t list
]
val of_ktree : t ktree -> t

Helper to convert trees

val map_ktree : ('a -> t) -> 'a ktree -> t

Helper to map trees into recursive boxes

val to_box : t -> box
val sprintf : ('a, Buffer.t, unit, t) format4 -> 'a

Formatting for `Text

val asprintf : ('a, Format.formatter, unit, t) format4 -> 'a

Formatting for `Text.

  • since 0.2
OCaml

Innovation. Community. Security.