diff options
author | Matthieu Sozeau <mattam@mattam.org> | 2016-03-14 11:16:19 +0100 |
---|---|---|
committer | Matthieu Sozeau <mattam@mattam.org> | 2016-06-16 18:21:08 +0200 |
commit | d4a421e57d74d305a797897f43ce216fb4c39719 (patch) | |
tree | e1f8d60abddc2b4d93844b7fca8400380e268f95 /theories/MSets | |
parent | 0767b8eace843ee45f2f3fc2b80a13ce6ed336c7 (diff) |
Typeclasses: stdlib fixes for new search algorithm
Diffstat (limited to 'theories/MSets')
-rw-r--r-- | theories/MSets/MSetInterface.v | 3 |
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 *) |