Fix a mental typo in part 2 of types series
This commit is contained in:
parent
347c818ab6
commit
392b103f38
|
@ -263,7 +263,7 @@ This rule is bad, and it should feel bad. Here are two reasons:
|
||||||
1. It only works for expressions like `x+y` or `a+b`, but not for
|
1. It only works for expressions like `x+y` or `a+b`, but not for
|
||||||
more complicated things like `(a+b)+(c+d)`. This is because
|
more complicated things like `(a+b)+(c+d)`. This is because
|
||||||
by using \\(x\_1\\) and \\(x\_2\\), the metavariables for
|
by using \\(x\_1\\) and \\(x\_2\\), the metavariables for
|
||||||
expressions, it rules out additions that _don't_ add expressions.
|
variables, it rules out additions that _don't_ add variables.
|
||||||
2. It doesn't play well with other rules; it can't be the _only_
|
2. It doesn't play well with other rules; it can't be the _only_
|
||||||
rule for addition of integers, since it doesn't work for
|
rule for addition of integers, since it doesn't work for
|
||||||
integer literals (i.e., `1+1` is out).
|
integer literals (i.e., `1+1` is out).
|
||||||
|
|
Loading…
Reference in New Issue
Block a user