diff options
author | EuAndreh <eu@euandre.org> | 2021-04-24 19:08:45 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2021-04-24 19:11:34 -0300 |
commit | 128509ccbf0b280a38636b75ba001808b9ad250f (patch) | |
tree | a42f996df4ad46d91c31c7fe93ed563e9a1ce014 /_tils | |
parent | s/tabs/spaces/g (diff) | |
download | euandre.org-128509ccbf0b280a38636b75ba001808b9ad250f.tar.gz euandre.org-128509ccbf0b280a38636b75ba001808b9ad250f.tar.xz |
Proofread TIL on nif macro
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) |