Skip to content

Instantly share code, notes, and snippets.

@kEND
Forked from jimweirich/gist:189259
Created September 20, 2009 03:07
Show Gist options
  • Save kEND/189689 to your computer and use it in GitHub Desktop.
Save kEND/189689 to your computer and use it in GitHub Desktop.
;; new-if....
With the new-if, things look good when the case is simple and it doesn't matter if the then-clause and else-clause get evaluated. Using the special form if, first the predicate will be evaluated and then the then-clause OR the else-clause. With the new-if procedure, all arguments will be evaluated first. This sqrt-iter will not progress to any result. Infinite loop.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment