package ocp-ocamlres

  1. Overview
  2. Docs

Predefined options that you can use in your own formats

val width : int ref

The expected width of the generated source.

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

Associates an extension with a subformat in ExtensionDispatcherSubFormat.

val output_file : string option ref

The name of the output file, if provided.

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

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

OCaml

Innovation. Community. Security.