package configuration

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t
type !'a concrete = {
  1. of_string : string -> 'a;
  2. to_string : 'a -> string;
}
type !'a key = {
  1. concrete : 'a concrete;
  2. path : string list;
  3. name : string;
  4. default : 'a;
  5. description : string;
}
val key : 'a concrete -> string list -> string -> 'a -> string -> 'a key
val get : t -> 'a key -> 'a
val value : 'a key -> string -> 'a
type 'b editor
val editor : 'a key -> ('a -> 'b -> 'b) -> 'b editor
val xmap : ('a -> 'b) -> ('b -> 'a -> 'a) -> 'b editor -> 'a editor
val apply : t -> 'b editor -> 'b -> 'b
val empty : t
val add : (string list * string) -> string -> t -> t
val merge : t -> t -> t
val override : t -> t -> t
val from_file : string -> t
val from_string : string -> t
val from_alist : ((string list * string) * string) list -> t
OCaml

Innovation. Community. Security.