[ prog / sol / mona ]
frontpage - thread list - new thread - preferences - ?
>>1 I prefer named lets when they are applicable, and internal defines over letrec as in the following block:
(define (fibonacci n) (let fib-iter ((n n) (a 1) (b 0)) (if (zero? n) b (fib-iter (- n 1) (+ a b) a))))
VIP:
bbs.scm + MIT Scheme + SICP + Satori Mode