package rocq-runtime

  1. Overview
  2. Docs
The Rocq Prover -- Core Binaries and Tools

Install

dune-project
 Dependency

Authors

Maintainers

Sources

rocq-9.1.0.tar.gz
sha256=b236dc44f92e1eeca6877c7ee188a90c2303497fe7beb99df711ed5a7ce0d824

doc/rocq-runtime.engine/Proofview_monad/StateStore/index.html

Module Proofview_monad.StateStore

type t

Type of stores

type 'a field

Type of field of such stores

val field : string -> 'a field

Create a new field. See also Dyn.create.

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.