module Make: functor (
Spec
:
SPEC
) ->
S
Functor to create custom key-value-section adaptors.
include Adaptor.Key_value_section.SPEC
val adaptor : Adaptor.adaptor
Adaptor for a custom key-value-section.
val fitting : Adaptor.fitting_adaptor
Fitting for a custom key-value-section.
val reader : Reader.t
Reader for a custom key-value-section.
val new_splitter : unit -> Adaptor.splitter
Splitter constructor for a custom key-value-section. This
function takes
()
as its first argument in order to initialize
internal state that keeps track of the current section. That is,
reapplying
Adaptor.Key_value_section.S.new_splitter
to
()
will yield a splitter that
initially is in section
""
, and doesn't share its section state
with any other splitter.