aboutsummaryrefslogtreecommitdiff
path: root/Int.v
diff options
context:
space:
mode:
authorPierre-Marie Pédrot2016-12-14 08:09:54 +0100
committerPierre-Marie Pédrot2017-05-19 15:17:31 +0200
commit735ab0a7d2f7afaed0695e014034f4b2d6e287c8 (patch)
tree42dfb80b8695c24b14e56b5ebf58d11abe6ee429 /Int.v
parentb5530d8953e74def1feb7dd651ba504e24749055 (diff)
Stdlib functions now return Ltac2 exceptions.
Diffstat (limited to 'Int.v')
-rw-r--r--Int.v2
1 files changed, 2 insertions, 0 deletions
diff --git a/Int.v b/Int.v
index bb0287efc8..ab43eb27b0 100644
--- a/Int.v
+++ b/Int.v
@@ -8,6 +8,8 @@
Require Import Coq.ltac2.Init.
+Ltac2 Type exn ::= [ Division_by_zero ].
+
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".