diff options
| author | Cyril Cohen | 2020-12-16 20:53:41 +0100 |
|---|---|---|
| committer | GitHub | 2020-12-16 20:53:41 +0100 |
| commit | ee410eb85f36f5e366f807207a7dee8f3e1bdf3a (patch) | |
| tree | 865abdedfae6ed4d40f955e23887b19acfa11def /mathcomp/algebra/ssrint.v | |
| parent | b0d6592584ae3bffbb7a73a67ea06375b286c2fc (diff) | |
| parent | ac6adab9d089d2209aa6aa697b6d75a640adda10 (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.v | 2 |
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). |
