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.vernac/Vernacentries/DefAttributes/Observer/index.html

Module DefAttributes.ObserverSource

type token

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

type value = unit Declare.Hook.g list Attributes.attribute

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

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

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

val activate : token -> unit

Activate/deactive the value attached to the token.

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

Determine if the value for the given token is active.