-
Notifications
You must be signed in to change notification settings - Fork 164
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
backwards-compatible patch to make coq-mmaps.1.1 work with Coq 8.20
- Loading branch information
Showing
2 changed files
with
17 additions
and
1 deletion.
There are no files selected for viewing
15 changes: 15 additions & 0 deletions
15
released/packages/coq-mmaps/coq-mmaps.1.1/files/class-field-instance.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
diff --git a/theories/Comparisons.v b/theories/Comparisons.v | ||
index bb3950e..50b6a0f 100644 | ||
--- a/theories/Comparisons.v | ||
+++ b/theories/Comparisons.v | ||
@@ -25,8 +25,8 @@ Definition Trans {A} (cmp:A->A->comparison) := | ||
forall c x y z, cmp x y = c -> cmp y z = c -> cmp x z = c. | ||
|
||
Class SymTrans {A} (cmp:A->A->comparison) := { | ||
- sym :> Sym cmp; | ||
- tra :> Trans cmp | ||
+ sym : Sym cmp; | ||
+ tra : Trans cmp | ||
}. | ||
|
||
(** [SymTrans] implies the following compatibility rules *) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters