aboutsummaryrefslogtreecommitdiff
path: root/mathcomp/ssreflect
diff options
context:
space:
mode:
authorCyril Cohen2020-11-11 20:08:21 +0100
committerCyril Cohen2020-11-11 20:14:05 +0100
commiteb4bed01bf31c21cd13cdfbd4b81303f4f357c4e (patch)
tree902f83d893389dfe9a4f129f325ef7d92822940f /mathcomp/ssreflect
parentcf74596ed9f29ba4e6c125a7916f6c631366a6f3 (diff)
Deprecation of iota_add delayed, and not the one of iter_add
Diffstat (limited to 'mathcomp/ssreflect')
-rw-r--r--mathcomp/ssreflect/seq.v4
-rw-r--r--mathcomp/ssreflect/ssrnat.v8
2 files changed, 6 insertions, 6 deletions
diff --git a/mathcomp/ssreflect/seq.v b/mathcomp/ssreflect/seq.v
index ed0b998..985c0de 100644
--- a/mathcomp/ssreflect/seq.v
+++ b/mathcomp/ssreflect/seq.v
@@ -3654,7 +3654,9 @@ Notation uniq_perm_eq := (deprecate uniq_perm_eq uniq_perm _ _ _)
Notation perm_eq_iotaP := (deprecate perm_eq_iotaP perm_iotaP) (only parsing).
Notation perm_undup_count := (deprecate perm_undup_count perm_count_undup _ _)
(only parsing).
-Notation iota_add := (deprecate iota_add iotaD) (only parsing).
+(* TODO: restore when Coq 8.10 is no longer supported *)
+(* #[deprecated(since="mathcomp 1.13.0", note="Use iotaD instead.")] *)
+Notation iota_add := iotaD (only parsing).
Notation iota_addl := (deprecate iota_addl iotaDl) (only parsing).
Notation allpairs_catr :=
diff --git a/mathcomp/ssreflect/ssrnat.v b/mathcomp/ssreflect/ssrnat.v
index 568f8b0..0a2fbcd 100644
--- a/mathcomp/ssreflect/ssrnat.v
+++ b/mathcomp/ssreflect/ssrnat.v
@@ -2030,15 +2030,13 @@ Notation "@ 'decr_inj_in'" :=
(deprecate decr_inj_in decn_inj_in) (at level 10, only parsing) : fun_scope.
Notation decr_inj_in := (@decr_inj_in _ _) (only parsing).
+Notation "@ 'iter_add'" :=
+ (deprecate iter_add iterD) (at level 10, only parsing) : fun_scope.
Notation "@ 'odd_opp'" :=
(deprecate odd_opp oddN) (at level 10, only parsing) : fun_scope.
Notation "@ 'sqrn_sub'" :=
(deprecate sqrn_sub sqrnB) (at level 10, only parsing) : fun_scope.
-
-(* TODO: restore when Coq 8.10 is no longer supported *)
-(* #[deprecated(since="mathcomp 1.13.0", note="Use iterD instead.")] *)
-Notation iter_add := iterD (only parsing).
-
+Notation iter_add := (@iterD _) (only parsing).
Notation maxn_mulr := (deprecate maxn_mulr maxnMr) (only parsing).
Notation maxn_mull := (deprecate maxn_mull maxnMl) (only parsing).
Notation minn_mulr := (deprecate minn_mulr minnMr) (only parsing).