diff options
| author | ppedrot | 2012-11-25 17:39:12 +0000 |
|---|---|---|
| committer | ppedrot | 2012-11-25 17:39:12 +0000 |
| commit | de5bd6a09e2323faf4ac4b7576d55c3d2cb94ba7 (patch) | |
| tree | 9814cef64f85ad6921b51fba5e489d9bd6cfa507 /proofs/proofview.ml | |
| parent | b35582012e9f7923ca2e55bfbfae9215770f8fbd (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.ml | 6 |
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 -> |
