package orsetto

  1. Overview
  2. Docs
A library of assorted structured data interchange languages

Install

dune-project
 Dependency

Authors

Maintainers

Sources

r1.1.1.tar.gz
sha256=81283687ce3204263bc955a332dd7b90bf5b648a990c01160f33aaa77d80962f
md5=7346293aa013c2a8974c6fb7c521166a

doc/orsetto.cf/Cf_encode/Render/index.html

Module Cf_encode.Render

Use 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 ... end

Use a model of this simpler signature to create a data renderer that specificall produces encoding schemes.

module Create (B : Basis) : Cf_data_render.Profile with type 'a scheme := 'a scheme

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 scheme

Use 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

.

OCaml

Innovation. Community. Security.