package rocq-runtime

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

rocq-9.0.1.tar.gz
sha256=051f7bf702ff0a3b370449728921e5a95e18bc2b31b8eb949d48422888c98af4

doc/rocq-runtime.pretyping/Genarg/Register/index.html

Module Genarg.RegisterSource

Warning: although the following APIs use genarg_type the values must always be ExtraArg some_tag.

Parameters

module M : GenObj

Signature

Sourceval register0 : ('raw, 'glb, 'top) genarg_type -> ('raw, 'glb, 'top) M.obj -> unit

Register a ground type manipulation function. Must be ExtraArg.

Sourceval obj : ('raw, 'glb, 'top) genarg_type -> ('raw, 'glb, 'top) M.obj

Recover a manipulation function at a given type. Must be ExtraArg.

Sourceval mem : (_, _, _) genarg_type -> bool

Is this type registered? (must be ExtraArg)

Sourceval fold_keys : (ArgT.any -> 'acc -> 'acc) -> 'acc -> 'acc

Fold over the registered keys.