Debian Codegraph @

theories/Ltac2/Constant.v

raw
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 Require Import Ltac2.Init.
12
13 Ltac2 Type t := constant.
14
15 Ltac2 @ external equal : constant -> constant -> bool := "rocq-runtime.plugins.ltac2" "constant_equal".
16 (** Constants obtained through module aliases or Include are not
17 considered equal by this function. *)
18
19 Ltac2 @external print : t -> message
20 := "rocq-runtime.plugins.ltac2" "constant_print".
21 (** Print the constant using the shortest qualified identifier which refers to it.
22 Does not avoid variable names in the current or global environment. *)