aboutsummaryrefslogtreecommitdiff
path: root/interp/constrintern.ml
diff options
context:
space:
mode:
Diffstat (limited to 'interp/constrintern.ml')
-rw-r--r--interp/constrintern.ml7
1 files changed, 7 insertions, 0 deletions
diff --git a/interp/constrintern.ml b/interp/constrintern.ml
index 83e4c44152..57de9da33a 100644
--- a/interp/constrintern.ml
+++ b/interp/constrintern.ml
@@ -1175,6 +1175,13 @@ 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.Misc.compare id_eq id1 id2
+| ExplByName id1, ExplByName id2 ->
+ id_eq id1 id2
+| _ -> false
+
let merge_impargs l args =
List.fold_right (fun a l ->
match a with