package coq-core

  1. Overview
  2. Docs
The Coq Proof Assistant -- Core Binaries and Tools

Install

Dune Dependency

Authors

Maintainers

Sources

coq-8.19.2.tar.gz
md5=5d1187d5e44ed0163f76fb12dabf012e
sha512=91bc81530fa4f6498961583ad51eac5001f139881788b88e360a866ad8e2a6e2c5bce86d1a580ab4cd4782bf49d48318767df82471ce33ba3ac143e5569ad33c

doc/coq-core.parsing/Pcoq/GramState/index.html

Module Pcoq.GramState

Auxiliary state of the grammar. Any added data must be marshallable.

type t

Type of stores

type 'a field

Type of field of such stores

val field : unit -> 'a field

Create a new field

val empty : t

Empty store

val set : t -> 'a field -> 'a -> t

Set a field

val get : t -> 'a field -> 'a option

Get the value of a field, if any

val remove : t -> 'a field -> t

Unset the value of the field

val merge : t -> t -> t

merge s1 s2 adds all the fields of s1 into s2.

OCaml

Innovation. Community. Security.