That'll fall inside an infinite recursion.
new-if is a procedure, due to applicative-order evaluation behavior, interpreter will try to evaluate all the args passed to new-if(before starting to evaluate its body) which in this case include call to sqrt-iter again.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment