Fix a mental typo in part 2 of types series

This commit is contained in:
Danila Fedorin 2022-09-10 12:33:43 -07:00
parent 347c818ab6
commit 392b103f38

View File

@ -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
more complicated things like `(a+b)+(c+d)`. This is because
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_
rule for addition of integers, since it doesn't work for
integer literals (i.e., `1+1` is out).