package prettiest
-
prettiest
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
include Width
val text : string -> t
Turn a string without newlines into a document.
val render : t -> string option
Render document. Returns None
if the document does not fit.
Allow the printer to choose which of the given document to render. Choices must be semantically equivalent.
val fail : t
Unit for the choice function.
val empty : t
The empty document.
Same as intersperse
but map f
across elements at the same time.
module Infix : sig ... end
module Characters : sig ... end