Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
module SMap : sig ... end
exception Error of error
val string_of_error : error -> string
val invalid_value : Yojson.Safe.json -> 'a
val invalid_path : path -> 'a
val path_conflict : path -> 'a
val exn_at_path : path -> exn -> 'a
module Wrapper : sig ... end
type !'a wrapper = 'a Wrapper.t
val option :
?doc:string ->
?cb:('a -> unit) ->
'a wrapper ->
'a ->
'a conf_option
val get : 'a conf_option -> 'a
val set : 'a conf_option -> 'a -> unit
val group : [ `Open ] group
val add : [ `Open ] group -> path -> 'a conf_option -> [ `Open ] group
val as_group : 'a conf_option -> [ `Closed ] group
val int : ?doc:string -> ?cb:(int -> unit) -> int -> int conf_option
val float : ?doc:string -> ?cb:(float -> unit) -> float -> float conf_option
val bool : ?doc:string -> ?cb:(bool -> unit) -> bool -> bool conf_option
val string :
?doc:string ->
?cb:(string -> unit) ->
string ->
string conf_option
val list :
?doc:string ->
?cb:('a list -> unit) ->
'a wrapper ->
'a list ->
'a list conf_option
val option_ :
?doc:string ->
?cb:('a option -> unit) ->
'a wrapper ->
'a option ->
'a option conf_option
val pair :
?doc:string ->
?cb:(('a * 'b) -> unit) ->
'a wrapper ->
'b wrapper ->
('a * 'b) ->
('a * 'b) conf_option
val triple :
?doc:string ->
?cb:(('a * 'b * 'c) -> unit) ->
'a wrapper ->
'b wrapper ->
'c wrapper ->
('a * 'b * 'c) ->
('a * 'b * 'c) conf_option
val string_map :
?doc:string ->
?cb:('map -> unit) ->
fold:
((string -> 'a -> Wrapper.assocs -> Wrapper.assocs) ->
'map ->
Wrapper.assocs ->
Wrapper.assocs) ->
add:(string -> 'a -> 'map -> 'map) ->
empty:'map ->
'a wrapper ->
'map ->
'map conf_option
val from_json : 'a group -> Yojson.Safe.json -> unit
val from_string : 'a group -> string -> unit
val from_file : 'a group -> string -> unit
val to_json : ?with_doc:bool -> 'a group -> Yojson.Safe.json
val to_string : ?with_doc:bool -> 'a group -> string
val to_file : ?with_doc:bool -> 'a group -> string -> unit