From bb89852617bfc8c973ba6746a77d1c2913b720ad Mon Sep 17 00:00:00 2001 From: msozeau Date: Mon, 18 May 2009 16:07:55 +0000 Subject: Minor unification changes: - Primitive setup for firing typeclass resolution on-demand: add a flag to control resolution of remaining evars (e.g. typeclasses) during unification. - Prevent canonical projection resolution when no delta is allowed during unification (fixes incompatibility found in ssreflect). - Correctly check types when the head is an evar _or_ a meta in w_unify. Move [isEvar_or_Meta] to kernel/term.ml, it's used in two places now. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@12131 85f007b7-540e-0410-9357-904b9bb8a0f7 --- pretyping/typeclasses_errors.mli | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pretyping/typeclasses_errors.mli') diff --git a/pretyping/typeclasses_errors.mli b/pretyping/typeclasses_errors.mli index 3f0723ad8..b977a1a34 100644 --- a/pretyping/typeclasses_errors.mli +++ b/pretyping/typeclasses_errors.mli @@ -42,3 +42,5 @@ val no_instance : env -> identifier located -> constr list -> 'a val unsatisfiable_constraints : env -> evar_defs -> evar option -> 'a val mismatched_ctx_inst : env -> contexts -> constr_expr list -> rel_context -> 'a + +val unsatisfiable_exception : exn -> bool -- cgit v1.2.3