Skip to content

Commit

Permalink
Merge pull request #2747 from palmskog/stdpp-1.8.0-8.18
Browse files Browse the repository at this point in the history
patch coq-stdpp.1.8.0 for Coq 8.18, dropping 8.12 support
  • Loading branch information
palmskog authored Oct 2, 2023
2 parents e7bfb34 + b3fd668 commit b88806e
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
12 changes: 12 additions & 0 deletions released/packages/coq-stdpp/coq-stdpp.1.8.0/files/curry.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
--- coq-stdpp.orig/stdpp/base.v
+++ coq-stdpp/stdpp/base.v
@@ -696,9 +696,7 @@
(** The Coq standard library swapped the names of curry/uncurry, see
https://github.com/coq/coq/pull/12716/
FIXME: Remove this workaround once the lowest Coq version we support is 8.13. *)
-Notation curry := prod_uncurry.
Global Instance: Params (@curry) 3 := {}.
-Notation uncurry := prod_curry.
Global Instance: Params (@uncurry) 3 := {}.

Definition uncurry3 {A B C D} (f : A → B → C → D) (p : A * B * C) : D :=
3 changes: 2 additions & 1 deletion released/packages/coq-stdpp/coq-stdpp.1.8.0/opam
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,10 @@ tags: [
]

depends: [
"coq" { (>= "8.12" & < "8.18~") | (= "dev") }
"coq" { (>= "8.13" & < "8.19~") | (= "dev") }
]

patches: ["curry.patch"]
build: ["./make-package" "stdpp" "-j%{jobs}%"]
install: ["./make-package" "stdpp" "install"]

Expand Down

0 comments on commit b88806e

Please sign in to comment.