package pla

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type dest =
  1. | File of out_channel
  2. | Buffer of Buffer.t
val appendToBuff : dest -> string -> unit
type t = {
  1. buffer : dest;
  2. mutable indent : int;
  3. mutable space : string;
  4. mutable indented : bool;
}

Text buffer use by Pla

val newBuffer : unit -> t
val newFile : string -> t
val contents : t -> string
val close : t -> unit
val newline : t -> unit
val indent : t -> unit
val outdent : t -> unit
val append : t -> string -> unit
OCaml

Innovation. Community. Security.