From 735ab0a7d2f7afaed0695e014034f4b2d6e287c8 Mon Sep 17 00:00:00 2001 From: Pierre-Marie Pédrot Date: Wed, 14 Dec 2016 08:09:54 +0100 Subject: Stdlib functions now return Ltac2 exceptions. --- Int.v | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Int.v') 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". -- cgit v1.2.3