@@ -221,7 +221,7 @@ arc> (average 2 4)
221221
222222The body of the function consists of one expression, ` (/ (+ x y) 2) ` .
223223It's common for functions to consist of one expression; in purely
224- functional code (code with no side- effects) they always do.
224+ functional code (code with no side effects) they always do.
225225
226226Notice that ` def ` , like ` = ` , doesn't evaluate all its arguments. It
227227is another of those operators with its own evaluation rule.
@@ -430,7 +430,7 @@ arc> (def mylen (xs)
430430#<procedure: mylen>
431431```
432432
433- If the list is ` nil ` the function will immediately return 0. Otherwise
433+ If the list is ` nil ` the function will immediately return 0. Otherwise,
434434it returns 1 more than the length of the ` cdr ` of the list.
435435
436436```
@@ -941,7 +941,7 @@ definition, but with def replaced by mac.
941941
942942What this macro says is that whenever the expression (foo) occurs
943943in your code, it shouldn't be evaluated in the normal way like a
944- function call. Instead it should be replaced by the result of
944+ function call. Instead, it should be replaced by the result of
945945evaluating the body of the macro definition, (list '+ 1 2).
946946This is called the "expansion" of the macro call.
947947
@@ -1306,7 +1306,7 @@ first Lisp implementations. This probably prevented people from
13061306realizing they hadn't originally been needed. But most ` cond ` s in
13071307the wild seem to occur in purely functional code, and thus pay the
13081308cost in parens of implicit ` progn ` without actually needing it. My
1309- experience so far suggests it's a net win to offer ` progn ` * a la carte*
1309+ experience so far suggests it's a net win to offer ` progn ` * à la carte*
13101310instead of combining it with the default conditional operator.
13111311Having to use explicit ` do ` s may even be an advantage, because it
13121312calls attention to nonfunctional code.
0 commit comments