-
-
Save ryanbriones/193291 to your computer and use it in GitHub Desktop.
SICP Exercise 1.6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; SICP 1.6 | |
;; Fork me. Solve me. | |
;; if is a special form that only evaluates the arguments after the predicate has been evaluated. | |
;; since new-if evaluates it's arguments immediately, the program is sent into an infinite loop | |
;; evaluating sqrt-iter with an improved guess |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment