package rocq-runtime

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

rocq-9.2.0.tar.gz
sha256=a45280ab4fbaac7540b136a6b073b4a6db15739ec1e149bded43fa6f4fc25f20

doc/rocq-runtime.library/Summary/module-type-OBSERVABLE_USER/index.html

Module type Summary.OBSERVABLE_USERSource

The implementation side of observation. This should be held internally with the creator of the state. Only the OBSERVABLE signature should be exposed.

include OBSERVABLE
Sourcetype token

The type of tokens to manipulate values. This is always marshallable.

Sourcetype value

The value being stored. May be non-marshallable (typically a closure).

Sourceval register : name:string -> ?override:bool -> value -> token

Register a new value and get the token used to enable and disable it.

Sourceval activate : token -> unit

Activate/deactive the value attached to the token.

Sourceval deactivate : token -> unit
Sourceval is_active : token -> bool

Determine if the value for the given token is active.

Sourceval all_active : unit -> (string * value) list

Get all of the active values