Search found 2 matches

by philV
Sat May 14, 2016 4:17 pm
Forum: Homework
Topic: help understanding simple recursion
Replies: 2
Views: 8708

Re: help understanding simple recursion

Thanks for replying! I understand your walk through of the recursion, it is obviously correct, but seems quite counter-intuitive. At some point state is (inc (inc (inc (inc (z 0 9))))) and then the "If" resolves to y, which seemed to me to be the culmination and the answer is 9! Since the ...
by philV
Fri May 13, 2016 10:49 am
Forum: Homework
Topic: help understanding simple recursion
Replies: 2
Views: 8708

help understanding simple recursion

I am long time programmer wanting to learn LISP (Clojure), watching the 1986 MIT class on the "Structure and Interpretation of Computer Programs" on youtube. 23 minutes 56 seconds into the lecture 1B ;; https://www.youtube.com/watch?v=dlbMuv-jix8 He gives a scheme recursive program to add ...