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_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.