aboutsummaryrefslogtreecommitdiff
path: root/mathcomp/algebra/ssrint.v
diff options
context:
space:
mode:
authorCyril Cohen2020-12-16 20:53:41 +0100
committerGitHub2020-12-16 20:53:41 +0100
commitee410eb85f36f5e366f807207a7dee8f3e1bdf3a (patch)
tree865abdedfae6ed4d40f955e23887b19acfa11def /mathcomp/algebra/ssrint.v
parentb0d6592584ae3bffbb7a73a67ea06375b286c2fc (diff)
parentac6adab9d089d2209aa6aa697b6d75a640adda10 (diff)
Merge pull request #685 from pi8027/nullary-notations
Change the interpretation scope of some nullary notations from `ring_scope` to `fun_scope`
Diffstat (limited to 'mathcomp/algebra/ssrint.v')
-rw-r--r--mathcomp/algebra/ssrint.v2
1 files changed, 1 insertions, 1 deletions
diff --git a/mathcomp/algebra/ssrint.v b/mathcomp/algebra/ssrint.v
index 9ea0ce4..a51ec47 100644
--- a/mathcomp/algebra/ssrint.v
+++ b/mathcomp/algebra/ssrint.v
@@ -507,7 +507,7 @@ Definition intmul (R : zmodType) (x : R) (n : int) := nosimpl
| Negz n => (x *- (n.+1))%R
end.
-Notation "*~%R" := (@intmul _) (at level 0, format " *~%R") : ring_scope.
+Notation "*~%R" := (@intmul _) (at level 0, format " *~%R") : fun_scope.
Notation "x *~ n" := (intmul x n)
(at level 40, left associativity, format "x *~ n") : ring_scope.
Notation intr := ( *~%R 1).