You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(set! fib (fn* (n)
(if (<= n 1)
n
(+ (fib (- n 1)) (fib (- n 2))))))
(let* (n 0)
(while (<= n 10)
(do
(print (fib n))
(set! n (+ n 1) true))))
That (do .. )feels like it shouldn't be necessary.
(Also the scoping issue requiring the fixed set! call is really starting to get on my nerves; both should be resolved I think - reported separately in #22.)