Functor Adaptor.Key_value_section.Make


module Make: 
functor (Spec : SPEC) -> S
Functor to create custom key-value-section adaptors.
Parameters:
Spec : SPEC

include Adaptor.Key_value_section.SPEC
val adaptor : (< delim : 'a; fstab : 'b; group : 'c; key_value : Line.absent; mailcap : 'd;
passwd : 'e; ps : 'f; seq : 'g; source : 'h; stat : 'i > ->
< delim : 'a; fstab : 'b; group : 'c;
key_value : < section : Line.present >; mailcap : 'd; passwd : 'e;
ps : 'f; seq : 'g; source : 'h; stat : 'i >)
Adaptor.adaptor
Adaptor for a custom key-value-section.
val fitting : (< delim : 'a; fstab : 'b; group : 'c; key_value : Line.absent; mailcap : 'd;
passwd : 'e; ps : 'f; seq : 'g; source : 'h; stat : 'i > ->
< delim : 'a; fstab : 'b; group : 'c;
key_value : < section : Line.present >; mailcap : 'd; passwd : 'e;
ps : 'f; seq : 'g; source : 'h; stat : 'i >)
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 ->
(< delim : 'a; fstab : 'b; group : 'c; key_value : Line.absent; mailcap : 'd;
passwd : 'e; ps : 'f; seq : 'g; source : 'h; stat : 'i > ->
< delim : 'a; fstab : 'b; group : 'c;
key_value : < section : Line.present >; mailcap : 'd; passwd : 'e;
ps : 'f; seq : 'g; source : 'h; stat : 'i >)
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.