aboutsummaryrefslogtreecommitdiff
path: root/theories
diff options
context:
space:
mode:
Diffstat (limited to 'theories')
-rw-r--r--theories/Ident.v17
-rw-r--r--theories/Ltac2.v1
2 files changed, 18 insertions, 0 deletions
diff --git a/theories/Ident.v b/theories/Ident.v
new file mode 100644
index 0000000000..55456afbe2
--- /dev/null
+++ b/theories/Ident.v
@@ -0,0 +1,17 @@
+(************************************************************************)
+(* v * The Coq Proof Assistant / The Coq Development Team *)
+(* <O___,, * INRIA - CNRS - LIX - LRI - PPS - Copyright 1999-2016 *)
+(* \VV/ **************************************************************)
+(* // * This file is distributed under the terms of the *)
+(* * GNU Lesser General Public License Version 2.1 *)
+(************************************************************************)
+
+Require Import Ltac2.Init.
+
+Ltac2 Type t := ident.
+
+Ltac2 @ external equal : t -> t -> bool := "ltac2" "ident_equal".
+
+Ltac2 @ external of_string : string -> t option := "ltac2" "ident_of_string".
+
+Ltac2 @ external to_string : t -> string := "ltac2" "ident_to_string".
diff --git a/theories/Ltac2.v b/theories/Ltac2.v
index 4cd3fafcb2..0d6c8f232a 100644
--- a/theories/Ltac2.v
+++ b/theories/Ltac2.v
@@ -10,6 +10,7 @@ Require Export Ltac2.Init.
Require Ltac2.Int.
Require Ltac2.String.
+Require Ltac2.Ident.
Require Ltac2.Array.
Require Ltac2.Message.
Require Ltac2.Constr.