aboutsummaryrefslogtreecommitdiffhomepage
path: root/pretyping/typeclasses.mli
diff options
context:
space:
mode:
authorGravatar Matthieu Sozeau <mattam@mattam.org>2014-09-11 18:17:08 +0200
committerGravatar Matthieu Sozeau <mattam@mattam.org>2014-09-11 18:17:08 +0200
commit2378b5ccee0e62d0b93935aa69c0bfedd2ac720e (patch)
tree3d6760862bcb66835585918ef17ab3b7e7b7490a /pretyping/typeclasses.mli
parent7ec643712e5376bc2a3f71d4673947b94c60415f (diff)
Add a flag for restricting resolution of typeclasses to
matching (i.e. no instanciation of the goal evars). Classes defined when [Set Typeclasses Strict Resolution] is on use the restricted resolution for all their instances (except for Hint Extern's).
Diffstat (limited to 'pretyping/typeclasses.mli')
-rw-r--r--pretyping/typeclasses.mli3
1 files changed, 3 insertions, 0 deletions
diff --git a/pretyping/typeclasses.mli b/pretyping/typeclasses.mli
index 7c3d2be09..b1f816e65 100644
--- a/pretyping/typeclasses.mli
+++ b/pretyping/typeclasses.mli
@@ -34,6 +34,9 @@ type typeclass = {
no name is provided. The [int option option] indicates subclasses whose hint has
the given priority. *)
cl_projs : (Name.t * (direction * int option) option * constant option) list;
+
+ (** Whether we use matching or full unification during resolution *)
+ cl_strict : bool;
}
type instance