Cf_encode.RenderUse the Create(B: Basis) functor in this module as a simpler method to create a data renderer profile that can make encoding schemes from abstract data models.
module type Basis = sig ... endUse a model of this simpler signature to create a data renderer that specificall produces encoding schemes.
Use Create(B) to make a data renderer that produces encoding schemes according to the protocol defined in B.
val basis_control : 'a scheme -> ('a, 'b) Cf_data_render.control -> 'b schemeUse basis_control m c to transform the encoding scheme m to a new scheme according to the rendering control c. Raises Invalid_argument if c has an unrecognized extensible variant tag, i.e. not one of the tags defined in
f_data_render
.