aboutsummaryrefslogtreecommitdiff
path: root/Int.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 /Int.v
parent07ad1ca45473ba02db9b687bb7e89d440ba79b20 (diff)
Fixing a precedence issue in type parameters.
Diffstat (limited to 'Int.v')
-rw-r--r--Int.v16
1 files changed, 16 insertions, 0 deletions
diff --git a/Int.v b/Int.v
new file mode 100644
index 0000000000..bb0287efc8
--- /dev/null
+++ b/Int.v
@@ -0,0 +1,16 @@
+(************************************************************************)
+(* 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 Coq.ltac2.Init.
+
+Ltac2 @ external equal : int -> int -> bool := "ltac2" "int_equal".
+Ltac2 @ external compare : int -> int -> int := "ltac2" "int_compare".
+Ltac2 @ external add : int -> int -> int := "ltac2" "int_add".
+Ltac2 @ external sub : int -> int -> int := "ltac2" "int_sub".
+Ltac2 @ external mul : int -> int -> int := "ltac2" "int_mul".
+Ltac2 @ external neg : int -> int := "ltac2" "int_neg".