package extlib

  1. Overview
  2. Docs
type t = {
  1. indent : unit -> unit;
  2. dedent : unit -> unit;
  3. format_usage : string -> string;
  4. format_heading : string -> string;
  5. format_description : string -> string;
  6. format_option : (char list * string list) -> string list -> string option -> string;
}
val indented_formatter : ?level:int Pervasives.ref -> ?indent:int Pervasives.ref -> ?indent_increment:int -> ?max_help_position:int -> ?width:int -> ?short_first:bool -> unit -> t
val titled_formatter : ?level:int Pervasives.ref -> ?indent:int Pervasives.ref -> ?indent_increment:int -> ?max_help_position:int -> ?width:int -> ?short_first:bool -> unit -> t
val wrap : ?initial_indent:int -> ?subsequent_indent:int -> string -> int -> string list
val fill : ?initial_indent:int -> ?subsequent_indent:int -> string -> int -> string
OCaml

Innovation. Community. Security.