diff options
| author | Cyril Cohen | 2020-11-11 20:08:21 +0100 |
|---|---|---|
| committer | Cyril Cohen | 2020-11-11 20:14:05 +0100 |
| commit | eb4bed01bf31c21cd13cdfbd4b81303f4f357c4e (patch) | |
| tree | 902f83d893389dfe9a4f129f325ef7d92822940f /mathcomp/ssreflect/ssrnat.v | |
| parent | cf74596ed9f29ba4e6c125a7916f6c631366a6f3 (diff) | |
Deprecation of iota_add delayed, and not the one of iter_add
Diffstat (limited to 'mathcomp/ssreflect/ssrnat.v')
| -rw-r--r-- | mathcomp/ssreflect/ssrnat.v | 8 |
1 files changed, 3 insertions, 5 deletions
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). |
