Skip to content

Commit 302ff45

Browse files
committed
Soften language about operator suffix spacing
1 parent 1d7b301 commit 302ff45

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/src/manual/variables.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,9 +114,9 @@ to the addition function, and `(+) = f` will reassign it. Most of the Unicode in
114114
category Sm), such as ``, are parsed as infix operators and are available for user-defined methods
115115
(e.g. you can use `const ⊗ = kron` to define `` as an infix Kronecker product). Operators can also be
116116
suffixed with modifying marks, primes, and sub/superscripts, e.g. `+̂ₐ″` is parsed as an infix operator
117-
with the same precedence as `+`. A space is required between an operator that ends with a
117+
with the same precedence as `+`. A space should be used between an operator that ends with a
118118
subscript/superscript letter and a subsequent variable name. For example, if `+ᵃ` is an operator, then
119-
`+ᵃx` must be written as `+ᵃ x` to distinguish it from `+ ᵃx` where `ᵃx` is the variable name.
119+
`+ᵃx` should be written as `+ᵃ x` to distinguish it from `+ ᵃx` where `ᵃx` is the variable name.
120120

121121
A particular class of variable names is one that contains only underscores. These identifiers are write-only. I.e. they can only be assigned values, which are immediately discarded, and their values cannot be used in any way.
122122

0 commit comments

Comments
 (0)