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_data_render/Element/index.html

Module Cf_data_render.Element

A submodule containing composers for elements indexed by position.

val required : 'r model -> ('v -> 'r) -> (element, 'v) bind

Use required m f to compose a group element where a required output value that matches the model m is obtained by applying the projector f to the rendered value.

val optional : 'r model -> ('v -> 'r option) -> (element, 'v) bind

Use optional m f to compose a group element where an optional output value that matches the model m is obtained by applying the projector f to the rendered value. If the projector returns None then no element is output.

val constant : 'r model -> 'r -> (element, 'v) bind

Use constant m v to compose a group element where a required output value v that matches the model m is produced regardless of the rendered value.

OCaml

Innovation. Community. Security.