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

Module Cf_data_ingest.Element

A submodule containing composers for elements indexed by position.

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

Use required m to compose a group element that requires a value matching the model m to be present in the sequence at the position at which it is bound in the group.

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

Use optional m to compose a group element that admits an optional value matching the model m if present in the sequence at the position at which it is bound in the group.

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

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

OCaml

Innovation. Community. Security.