package orsetto

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

Install

Dune Dependency

Authors

Maintainers

Sources

r1.1.2.tar.gz
sha512=e260412b2dd0f98cfe3dc7ed5c31a694eb31c93cd207c51fa12675b790234ee0ad3bf07d9be17a4dc266fedfe55b14c967cad7bc0c9414063eef8afd59f3d0d1

doc/orsetto.cf/Cf_data_ingest/Field/index.html

Module Cf_data_ingest.Field

A submodule containing composers for elements indexed by some totally ordered domain type.

val required : 'k -> 'v model -> ('k index, 'v) bind

Use required k m to compose a group element that requires a value matching the model m to be indexed in the sequence with k.

val optional : 'k -> 'v model -> ('k index, 'v option) bind

Use optional k m to compose a group element that admits an optional value matching the model m if it is indexed in the sequence with k.

val default : 'k -> 'v model -> 'v -> ('k index, 'v) bind

Use default k m v to compose a group element that admits an optional value matching the model m if it is indexed in the sequence with k, and if it is not present, then the scanner produces the default v for the element.

OCaml

Innovation. Community. Security.