aboutsummaryrefslogtreecommitdiff
path: root/proofs/proofview.ml
diff options
context:
space:
mode:
authorppedrot2012-11-25 17:39:12 +0000
committerppedrot2012-11-25 17:39:12 +0000
commitde5bd6a09e2323faf4ac4b7576d55c3d2cb94ba7 (patch)
tree9814cef64f85ad6921b51fba5e489d9bd6cfa507 /proofs/proofview.ml
parentb35582012e9f7923ca2e55bfbfae9215770f8fbd (diff)
Monomorphization (proof)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@16002 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'proofs/proofview.ml')
-rw-r--r--proofs/proofview.ml6
1 files changed, 4 insertions, 2 deletions
diff --git a/proofs/proofview.ml b/proofs/proofview.ml
index 98e1acc429..a4b914525c 100644
--- a/proofs/proofview.ml
+++ b/proofs/proofview.ml
@@ -20,6 +20,8 @@
There is also need of a list of the evars which initialised the proofview
to be able to return information about the proofview. *)
+open Util
+
(* Type of proofviews. *)
type proofview = {
initial : (Term.constr * Term.types) list;
@@ -81,7 +83,7 @@ exception IndexOutOfRange
Raises [IndexOutOfRange] if [i > length l]*)
let list_goto =
let rec aux acc index = function
- | l when index = 0-> (acc,l)
+ | l when Int.equal index 0-> (acc,l)
| [] -> raise IndexOutOfRange
| a::q -> aux (a::acc) (index-1) q
in
@@ -313,7 +315,7 @@ let tclDISPATCHS tacs =
let extend_to_list =
let rec copy n x l =
if n < 0 then raise SizeMismatch
- else if n = 0 then l
+ else if Int.equal n 0 then l
else copy (n-1) x (x::l)
in
fun startxs rx endxs l ->