package coq

  1. Overview
  2. Docs
Formal proof management system

Install

Dune Dependency

Authors

Maintainers

Sources

coq-8.14.1.tar.gz
sha256=3cbfc1e1a72b16d4744f5b64ede59586071e31d9c11c811a0372060727bfd9c3

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

Module Pcoq.GramStateSource

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.