diff options
Diffstat (limited to '')
-rw-r--r-- | _tils/2021-04-24-three-way-conditional-for-number-signs.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/_tils/2021-04-24-three-way-conditional-for-number-signs.md b/_tils/2021-04-24-three-way-conditional-for-number-signs.md index 4a55b61..ec62378 100644 --- a/_tils/2021-04-24-three-way-conditional-for-number-signs.md +++ b/_tils/2021-04-24-three-way-conditional-for-number-signs.md @@ -23,7 +23,7 @@ A useful macro from Paul Graham's [On Lisp][on-lisp] book: (t ,neg))))) ``` -After I looked at this macro, I started seeing opportunities to using it in many places, and yet I didn't see anyonelse using it. +After I looked at this macro, I started seeing opportunities to using it in many places, and yet I didn't see anyone else using it. The latest example I can think of is section 1.3.3 of [Structure and Interpretation of Computer Programs][sicp], which I was reading recently: @@ -40,7 +40,7 @@ The latest example I can think of is section 1.3.3 of [Structure and Interpretat (else midpoint)))))) ``` -Not that the book should introduce such macro this early, but I couldn't avoid feeling bothered by not using a `nif` macro, which could even remove the need for the intermediate `test-value` variable: +Not that the book should introduce such macro this early, but I couldn't avoid feeling bothered by not using the `nif` macro, which could even remove the need for the intermediate `test-value` variable: ```scheme (define (search f neg-point pos-point) |