aboutsummaryrefslogtreecommitdiff
path: root/Init.v
diff options
context:
space:
mode:
authorPierre-Marie Pédrot2016-12-05 16:32:26 +0100
committerPierre-Marie Pédrot2017-05-19 15:17:31 +0200
commit152b259b7b587ea949dd856b24beaf56466f3f27 (patch)
treeb4fa92941b1e4a851723dfe133a79dc9d3ef8035 /Init.v
parent07ad1ca45473ba02db9b687bb7e89d440ba79b20 (diff)
Fixing a precedence issue in type parameters.
Diffstat (limited to 'Init.v')
-rw-r--r--Init.v32
1 files changed, 32 insertions, 0 deletions
diff --git a/Init.v b/Init.v
new file mode 100644
index 0000000000..0f0b4636d8
--- /dev/null
+++ b/Init.v
@@ -0,0 +1,32 @@
+(************************************************************************)
+(* 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 *)
+(************************************************************************)
+
+Declare ML Module "ltac2_plugin".
+
+Global Set Default Proof Mode "Ltac2".
+
+(** Primitive types *)
+
+Ltac2 Type int.
+Ltac2 Type string.
+Ltac2 Type char.
+
+Ltac2 Type evar.
+Ltac2 Type constr.
+Ltac2 Type ident.
+Ltac2 Type message.
+Ltac2 Type exn.
+Ltac2 Type 'a array.
+
+(** Pervasive types *)
+
+Ltac2 Type 'a option := [ None | Some ('a) ].
+
+Ltac2 Type 'a ref := { mutable contents : 'a }.
+
+Ltac2 Type bool := [ true | false ].