package orsetto

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

r1.0.2.tar.gz
sha256=bb2af4d8b376b2d60fa996bd4d3b90d9f3559455672540f6d7c3598af81d483b
md5=f7bfa83013801b42fcdba607af2f012b

doc/orsetto.cf/Cf_scan/Create/argument-1-B/Form/index.html

Module B.Form

The signature of production forms.

type +'a t

A value conceptually annotated with its position in the input.

val imp : 'a -> 'a t

Scanners use imp value to create a value form with a distinguished implicit position, i.e. not located in the input stream.

val dn : 'a t -> 'a

Scanners use dn form to get the value wrapped in form.

val mv : 'a -> 'b t -> 'a t

Scanners use mv value form to make a form containing value attributed with the same position as form.

val span : 'a t -> 'b t -> 'c -> 'c t

Scanners use span a b value to make a form containing value attributed to the span of positions from a to b.

OCaml

Innovation. Community. Security.