module Key_value: sig
.. end
Adaptor module for key-value property lists. This file format is
essentially pairs of keys and associated values, separated by some
character (such as '='
or ':'
). We discard blank lines and
comment lines and join lines ending in a backslash.
val adaptor : ?quiet:bool -> ?comment:string -> ?delim:char -> Adaptor.adaptor
Adaptor to parse a key-value file. Lines starting with ?comment
(default "#"
are considered comments and discarded. Lines are
then split between a key and a value at ?delim
(default '='
),
and leading and trailing white space is discarded.
val fitting : ?quiet:bool -> ?comment:string -> ?delim:char -> Adaptor.fitting_adaptor
Fitting for key-value files.
val reader : ?comment:string -> Reader.t
Read key-value raw lines.
val splitter : ?quiet:bool -> ?delim:char -> Adaptor.splitter
Functorial Interface
module type SPEC = sig
.. end
module type S = sig
.. end
module Make: functor (
Spec
:
SPEC
) ->
S
Functor to create custom key-value adaptors.