aboutsummaryrefslogtreecommitdiff
path: root/theories/Structures
diff options
context:
space:
mode:
Diffstat (limited to 'theories/Structures')
-rw-r--r--theories/Structures/OrderedType2Ex.v2
-rw-r--r--theories/Structures/OrderedType2Lists.v4
2 files changed, 3 insertions, 3 deletions
diff --git a/theories/Structures/OrderedType2Ex.v b/theories/Structures/OrderedType2Ex.v
index 6a02319734..c64fb7a97b 100644
--- a/theories/Structures/OrderedType2Ex.v
+++ b/theories/Structures/OrderedType2Ex.v
@@ -46,7 +46,7 @@ Module PairOrderedType(O1 O2:OrderedType) <: OrderedType.
Include PairDecidableType O1 O2.
Definition lt :=
- (relation_disjunction (O1.lt @@ fst) (O1.eq * O2.lt))%signature.
+ (relation_disjunction (O1.lt @@1) (O1.eq * O2.lt))%signature.
Instance lt_strorder : StrictOrder lt.
Proof.
diff --git a/theories/Structures/OrderedType2Lists.v b/theories/Structures/OrderedType2Lists.v
index 4aa07dfdcd..567cbd9f85 100644
--- a/theories/Structures/OrderedType2Lists.v
+++ b/theories/Structures/OrderedType2Lists.v
@@ -73,9 +73,9 @@ Module KeyOrderedType(Import O:OrderedType).
Local Open Scope signature_scope.
- Definition eqk : relation (key*elt) := eq @@ fst.
+ Definition eqk : relation (key*elt) := eq @@1.
Definition eqke : relation (key*elt) := eq * Logic.eq.
- Definition ltk : relation (key*elt) := lt @@ fst.
+ Definition ltk : relation (key*elt) := lt @@1.
Hint Unfold eqk eqke ltk.