aboutsummaryrefslogtreecommitdiff
path: root/mathcomp/ssreflect/prime.v
diff options
context:
space:
mode:
authorCyril Cohen2021-01-22 15:13:52 +0100
committerGitHub2021-01-22 15:13:52 +0100
commit5853de19f08ec7ddb3782ea9bb4783fdc8443558 (patch)
treeab0ca09da86f27ef6bdf5f9f2e1bc32c5556638e /mathcomp/ssreflect/prime.v
parentc1c8ae66da745ec3960ecab02549ad918051fb0c (diff)
parent9ea33f07e98066cd05b5ab93f336f95e83272828 (diff)
Merge pull request #686 from pi8027/drop-coq-8.10
Drop support for Coq 8.10
Diffstat (limited to 'mathcomp/ssreflect/prime.v')
-rw-r--r--mathcomp/ssreflect/prime.v16
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).