aboutsummaryrefslogtreecommitdiffhomepage
path: root/theories/MSets
diff options
context:
space:
mode:
authorGravatar Matthieu Sozeau <mattam@mattam.org>2016-03-14 11:16:19 +0100
committerGravatar Matthieu Sozeau <mattam@mattam.org>2016-06-16 18:21:08 +0200
commitd4a421e57d74d305a797897f43ce216fb4c39719 (patch)
treee1f8d60abddc2b4d93844b7fca8400380e268f95 /theories/MSets
parent0767b8eace843ee45f2f3fc2b80a13ce6ed336c7 (diff)
Typeclasses: stdlib fixes for new search algorithm
Diffstat (limited to 'theories/MSets')
-rw-r--r--theories/MSets/MSetInterface.v3
1 files changed, 3 insertions, 0 deletions
diff --git a/theories/MSets/MSetInterface.v b/theories/MSets/MSetInterface.v
index bd8811689..74a7f6df8 100644
--- a/theories/MSets/MSetInterface.v
+++ b/theories/MSets/MSetInterface.v
@@ -345,6 +345,9 @@ Module Type WRawSets (E : DecidableType).
predicate [Ok]. If [Ok] isn't decidable, [isok] may be the
always-false function. *)
Parameter isok : t -> bool.
+ (** MS:
+ Dangerous instance, the [isok s = true] hypothesis cannot be discharged
+ with typeclass resolution. Is it really an instance? *)
Declare Instance isok_Ok s `(isok s = true) : Ok s | 10.
(** Logical predicates *)