aboutsummaryrefslogtreecommitdiff
path: root/mathcomp
diff options
context:
space:
mode:
authorCyril Cohen2020-11-05 13:26:07 +0100
committerCyril Cohen2020-11-05 13:52:20 +0100
commita14d422bcc1a44a860dd207b10d239c064d22548 (patch)
treecb2ba985c74b5204cd5c63bf533aceebec08d31d /mathcomp
parent26a35314966a28880888eefe62ef053f0b9f038f (diff)
test switching Coq deprecation mechanizm
Diffstat (limited to 'mathcomp')
-rw-r--r--mathcomp/ssreflect/ssrnat.v7
1 files changed, 4 insertions, 3 deletions
diff --git a/mathcomp/ssreflect/ssrnat.v b/mathcomp/ssreflect/ssrnat.v
index 99189f7..0aacfa4 100644
--- a/mathcomp/ssreflect/ssrnat.v
+++ b/mathcomp/ssreflect/ssrnat.v
@@ -2030,13 +2030,14 @@ 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.
-Notation iter_add := (@iter_add _) (only parsing).
+
+#[deprecated(since="mathcomp 1.12.0", note="Use iterD instead.")]
+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).