diff options
| author | Kazuhiko Sakaguchi | 2020-12-15 22:05:15 +0900 |
|---|---|---|
| committer | Kazuhiko Sakaguchi | 2021-01-16 00:28:21 +0900 |
| commit | 5f748f7ed9940c0db56e7dadd166f5e69bde6da9 (patch) | |
| tree | d7013ad66741ab20ec57e29ad013daf55f4dd902 /mathcomp/ssreflect/prime.v | |
| parent | 68fab9412b287079164aab5f3eda71fcd65df8cc (diff) | |
Drop support for Coq 8.10 and deprecate the `deprecate` notation
- The `deprecate` notation and `iota_add` have been deprecated. All the uses of
the `deprecate` notation have been replaced with the `deprecated` attribute.
- Deprecation aliases in `ssrnat` and `ssrnum` introduced in MathComp 1.11+beta1
have been removed.
- Remove `VDFILE` related hacks from `Makefile.common`.
Diffstat (limited to 'mathcomp/ssreflect/prime.v')
| -rw-r--r-- | mathcomp/ssreflect/prime.v | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/mathcomp/ssreflect/prime.v b/mathcomp/ssreflect/prime.v index ee5b136..f94e0a1 100644 --- a/mathcomp/ssreflect/prime.v +++ b/mathcomp/ssreflect/prime.v @@ -1429,11 +1429,11 @@ apply/eqP; rewrite /eq_op /= /eq_op /= !modn_dvdm ?dvdn_part //. by rewrite chinese_modl // chinese_modr // !modn_small ?eqxx ?ltn_ord. Qed. -Notation "@ 'primes_mul'" := - (deprecate primes_mul primesM) (at level 10, only parsing) : fun_scope. -Notation "@ 'primes_exp'" := - (deprecate primes_exp primesX) (at level 10, only parsing) : fun_scope. -Notation primes_mul := (@primes_mul _ _) (only parsing). -Notation primes_exp := (fun m => @primes_exp m _) (only parsing). -Notation pnat_mul := (deprecate pnat_mul pnatM) (only parsing). -Notation pnat_exp := (deprecate pnat_exp pnatX) (only parsing). +#[deprecated(since="mathcomp 1.12.0", note="Use primesM instead.")] +Notation primes_mul := primesM (only parsing). +#[deprecated(since="mathcomp 1.12.0", note="Use primesX instead.")] +Notation primes_exp := primesX (only parsing). +#[deprecated(since="mathcomp 1.12.0", note="Use pnatM instead.")] +Notation pnat_mul := pnatM (only parsing). +#[deprecated(since="mathcomp 1.12.0", note="Use pnatX instead.")] +Notation pnat_exp := pnatX (only parsing). |
