Debian Codegraph @

pretyping/keys.mli

raw symbols SCIP
1 (************************************************************************)
2 (* * The Rocq Prover / The Rocq Development Team *)
3 (* v * Copyright INRIA, CNRS and contributors *)
4 (* <O___,, * (see version control and CREDITS file for authors & dates) *)
5 (* \VV/ **************************************************************)
6 (* // * This file is distributed under the terms of the *)
7 (* * GNU Lesser General Public License Version 2.1 *)
8 (* * (see LICENSE file for the text of the license) *)
9 (************************************************************************)
10
11 type key
12
13 val declare_equiv_keys : key -> key -> unit
14 (** Declare two keys as being equivalent. *)
15
16 val equiv_keys : key -> key -> bool
17 (** Check equivalence of keys. *)
18
19 val constr_key : Environ.env -> ('a -> ('a, 't, 'u, 'i, 'r) Constr.kind_of_term) -> 'a -> key option
20 (** Compute the head key of a term. *)
21
22 val pr_keys : (Names.GlobRef.t -> Pp.t) -> Pp.t
23 (** Pretty-print the mapping *)