Module Stdune.Pp
Pretty printers
type +'tag tA document that is not yet rendered. The argument is the type of tags in the document. For instance tags might be used for styles.
module type Tag = sig ... endmodule Renderer : sig ... endmodule Render : Renderer.S with type Tag.t = unit with type Tag.Handler.t = unitA simple renderer that doesn't take tags
val pp : Stdlib.Format.formatter -> unit t -> unitval nop : 'a tval seq : 'a t -> 'a t -> 'a tval concat : 'a t list -> 'a tval box : ?indent:int -> 'a t list -> 'a tval vbox : ?indent:int -> 'a t list -> 'a tval hbox : 'a t list -> 'a tval hvbox : ?indent:int -> 'a t list -> 'a tval hovbox : ?indent:int -> 'a t list -> 'a tval bool : bool -> _ tval int : int -> _ tval string : string -> _ tval char : char -> _ tval float : float -> _ tval list : ?sep:'b t -> 'a list -> f:('a -> 'b t) -> 'b tval space : _ tval cut : _ tval newline : _ tval text : string -> _ tval tag : 'a t -> tag:'a -> 'a t