package cpdf

  1. Overview
  2. Docs

Print trees

val to_buffer : ?line_prefix:string -> get_name:('a -> string) -> get_children:('a -> 'a list) -> Buffer.t -> 'a -> unit

Print a tree to a buffer.

val to_string : ?line_prefix:string -> get_name:('a -> string) -> get_children:('a -> 'a list) -> 'a -> string

Print a tree to a string.

OCaml

Innovation. Community. Security.