package orsetto

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

r1.1.tar.gz
sha256=6e6f59fc6a2c590b1b377e40f2120a548e6f09e61e7eb12ffa45cf2d517316b8
md5=533153cd4a9fe8093d3b98afc1073bc8

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.