aboutsummaryrefslogtreecommitdiff
path: root/interp/constrintern.ml
diff options
context:
space:
mode:
authorppedrot2012-12-14 09:26:08 +0000
committerppedrot2012-12-14 09:26:08 +0000
commit9330bf650ca602884c5c4c69c2fb3e94ee32838b (patch)
tree5947d599c9c408680236995b11a47ab93703b701 /interp/constrintern.ml
parent02077f5b5e132e135be778c201e74a5eb87b97ae (diff)
Implemented a full-fledged equality on [constr_expr]. By the way,
some cleaning of the interface and moving of code. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@16066 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'interp/constrintern.ml')
-rw-r--r--interp/constrintern.ml7
1 files changed, 0 insertions, 7 deletions
diff --git a/interp/constrintern.ml b/interp/constrintern.ml
index f1316bbfac..e4df61c47f 100644
--- a/interp/constrintern.ml
+++ b/interp/constrintern.ml
@@ -1188,13 +1188,6 @@ let intern_ind_pattern genv env pat =
(**********************************************************************)
(* Utilities for application *)
-let explicitation_eq ex1 ex2 = match ex1, ex2 with
-| ExplByPos (i1, id1), ExplByPos (i2, id2) ->
- Int.equal i1 i2 && Option.equal id_eq id1 id2
-| ExplByName id1, ExplByName id2 ->
- id_eq id1 id2
-| _ -> false
-
let merge_impargs l args =
let test x = function
| (_, Some (_, y)) -> explicitation_eq x y