package patoline

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

The module type Spec is used as an argument to the Make functor. It is used to provide the specification of a configuration file.

val name : string

Name of the application.

val spec : (string * Data.t) list

The actual specification of the configuration file. Each field is composed of a name (or key) and a default value.

val path : string * string list

The paths where to look for the configuration file on the file system. The first element corresponds to the main system-wide file, and the list then contains possible locations for files. Configuration files are looked for starting at the end of the list.

OCaml

Innovation. Community. Security.