package ocp-ocamlres

  1. Overview
  2. Docs

Predefined options that you can use in your own formats

val width : int Stdlib.ref

The expected width of the generated source.

val subformats : (module SubFormat) Stdlib.Map.Make(Stdlib.String).t Stdlib.ref

Associates an extension with a subformat in ExtensionDispatcherSubFormat.

val output_file : string option Stdlib.ref

The name of the output file, if provided.

val options : (Stdlib.Arg.key * Stdlib.Arg.spec * Stdlib.Arg.doc) list

Defines -width <width>, -subformat <ext> <subformat> and -o <file> that update the previous references.

OCaml

Innovation. Community. Security.