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.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.