Skip to content

Cards

module Cards
Assembly Nacara.Plugin.Rocq

The client data files: a card per reference key on a page, and the search index.

Functions and values

badges (project: RocqProject) (facts: Facts option) : int -> Badge option

The badge of a declaration, by its index in RocqProject.Declarations.

Only a theorem with a complete proof and a captured result has one.

forModule (project: RocqProject) (links: Links) (facts: Facts option) (fileIndex: int) : CardData array

The contents of a module's symbols.json: a card for each symbol of the file and each reference on its page.

printedBinder (project: RocqProject) (facts: Facts option) : int -> string -> string option

The type Rocq printed for a binder, by declaration index and binder name.

search (project: RocqProject) (links: Links) (facts: Facts option) : SearchEntry array

The contents of search.json: each declared symbol of the project, in project order.