package patoline

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

This module provide a simple interface to a multi-purpose configuration files format. The file format is deliberatly kept very simple, and we do not provide any OCaml-specific features. A file consists in a list of named fields that can contain elements of a few base types.

module Data : sig ... end

The Data module provides an abstract interface for working with the value of configuration file fields.

module Config : sig ... end

The Config module provides an interface to configuration files.

module type Spec = sig ... end

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

module Make (S : Spec) : sig ... end

The Make functor is used for building a specific configuration system for an application. It provides higher-level interfaces to look for the configuration automatically and generating default configuration files.