aboutsummaryrefslogtreecommitdiffhomepage
path: root/theories/MSets/MSetWeakList.v
diff options
context:
space:
mode:
authorGravatar msozeau <msozeau@85f007b7-540e-0410-9357-904b9bb8a0f7>2009-11-08 02:19:44 +0000
committerGravatar msozeau <msozeau@85f007b7-540e-0410-9357-904b9bb8a0f7>2009-11-08 02:19:44 +0000
commit7baac26fccbd903f82f09e542aee1aa994d50c0d (patch)
tree38c64e213733727fb82f0c1ae8e6362226a9fcce /theories/MSets/MSetWeakList.v
parent6d684ec32bc62ff1e9528081a2369852cc5b5c65 (diff)
Use generalizable variables info when internalizing arbitrary bindings,
not just type class applications. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@12479 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'theories/MSets/MSetWeakList.v')
-rw-r--r--theories/MSets/MSetWeakList.v4
1 files changed, 2 insertions, 2 deletions
diff --git a/theories/MSets/MSetWeakList.v b/theories/MSets/MSetWeakList.v
index d5a85e6c2..0af8a24aa 100644
--- a/theories/MSets/MSetWeakList.v
+++ b/theories/MSets/MSetWeakList.v
@@ -126,7 +126,7 @@ Module MakeRaw (X:DecidableType) <: WRawSets X.
Hint Constructors Ok.
Hint Resolve @ok.
- Instance NoDup_Ok `(nd : NoDup s) : Ok s := nd.
+ Instance NoDup_Ok s (nd : NoDup s) : Ok s := nd.
Ltac inv_ok := match goal with
| H:Ok (_ :: _) |- _ => apply @ok in H; inversion_clear H; inv_ok
@@ -179,7 +179,7 @@ Module MakeRaw (X:DecidableType) <: WRawSets X.
rewrite <- mem_spec; auto; congruence.
Qed.
- Global Instance isok_Ok `(isok l = true) : Ok l | 10.
+ Global Instance isok_Ok l : isok l = true -> Ok l | 10.
Proof.
intros. apply <- isok_iff; auto.
Qed.