File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -22,3 +22,4 @@ index.md
2222* .coq.d
2323* .vok
2424* .vos
25+ .lia.cache
Original file line number Diff line number Diff line change @@ -23,10 +23,12 @@ Module FunNotation.
2323End FunNotation.
2424Import FunNotation.
2525
26- Definition compose A B C (g:B -> C) (f:A -> B) (x:A) : C := g (f x).
27-
26+ (* Uncomment the following line after we drop Coq 8.8: *)
27+ (* #[deprecated(since = "8.13", note = "Use standard library.")] *)
2828Definition uncurry A B C (f:A -> B -> C) (x:A * B) : C := let (a,b) := x in f a b.
2929
30+ (* Uncomment the following line after we drop Coq 8.8: *)
31+ (* #[deprecated(since = "8.13", note = "Use standard library.")] *)
3032Definition curry {A B C} (f : A * B -> C) (a : A) (b : B) : C := f (a, b).
3133
3234Lemma uncurry_curry : forall A B C (f : A -> B -> C) a b,
4446 reflexivity.
4547Qed .
4648
47- Definition const A B (x:B) : A -> B := fun _ => x.
48-
4949Fixpoint zip A B (xs:list A) (ys:list B) : list (A * B) :=
5050 match xs, ys with
5151 | [], _ => []
You can’t perform that action at this time.
0 commit comments