package ocp-ocamlres

  1. Overview
  2. Docs

Module OCamlResRegistry.PredefOptionsSource

Predefined options that you can use in your own formats

Sourceval width : int ref

The expected width of the generated source.

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

Associates an extension with a subformat in ExtensionDispatcherSubFormat.

Sourceval output_file : string option ref

The name of the output file, if provided.

Sourceval 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.