package dune

  1. Overview
  2. Docs
val pp : File_syntax.t -> Format.formatter -> t -> unit

Serialize a S-expression using indentation to improve readability

val pp_split_strings : Format.formatter -> t -> unit

Same as pp ~syntax:Dune, but split long strings. The formatter must have been prepared with prepare_formatter.

val prepare_formatter : Format.formatter -> unit

Prepare a formatter for pp_split_strings. Additionaly the formatter escape newlines when the tags "makefile-action" or "makefile-stuff" are active.

OCaml

Innovation. Community. Security.