package orsetto

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

Install

Dune Dependency

Authors

Maintainers

Sources

r1.1.3.tar.gz
sha512=9b654edb663ae697563f150824047052f3b1bf760398f24bce6350553f031f73c46b6337239a1acd871e61238597ea92046809e3358290ff14d6ba671b449085

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.