aboutsummaryrefslogtreecommitdiff
path: root/parsing/stdlib.ml
diff options
context:
space:
mode:
authorherbelin2001-01-19 18:33:07 +0000
committerherbelin2001-01-19 18:33:07 +0000
commitb625a7b4a3350cc9d6e23f03e0f0ef30e61d0450 (patch)
tree3ef26724be0bcf5e965d4fc1dd33253083e11501 /parsing/stdlib.ml
parent061fad5d12992b51a41aa593aefd99e9e820ea0b (diff)
Nouveau module pour centraliser les chemins des constantes globales utilisées dans le code de Coq
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@1260 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'parsing/stdlib.ml')
-rw-r--r--parsing/stdlib.ml17
1 files changed, 17 insertions, 0 deletions
diff --git a/parsing/stdlib.ml b/parsing/stdlib.ml
new file mode 100644
index 0000000000..8c4e2bf681
--- /dev/null
+++ b/parsing/stdlib.ml
@@ -0,0 +1,17 @@
+
+(* $Id$ *)
+
+open Names
+open Term
+open Declare
+
+let nat_path = make_path ["Coq";"Init";"Datatypes"] (id_of_string "nat") CCI
+let myvar_path =
+ make_path ["Coq";"Arith";"Arith"] (id_of_string "My_special_variable") CCI
+
+let glob_nat = IndRef (nat_path,0)
+
+let glob_O = ConstructRef ((nat_path,0),1)
+let glob_S = ConstructRef ((nat_path,0),2)
+
+let glob_My_special_variable_nat = ConstRef myvar_path