package printbox

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module PrintBox.SimpleSource

Sourcetype 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
]
Sourceval of_ktree : t ktree -> t

Helper to convert trees

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

Helper to map trees into recursive boxes

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

Formatting for `Text

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

Formatting for `Text.

  • since 0.2
OCaml

Innovation. Community. Security.