On 2 Lug, 13:50, Vend <ven...@[EMAIL PROTECTED] > wrote: > On 30 Giu, 13:42, defn noob <circularf...@[EMAIL PROTECTED] > wrote: > > > is this tail-recursion or iteration? > > > (define (fib n) > > (define (fibs a b n) > > (if (<= n 1) > > b > > (fibs b (+ a b) (- n 1)))) > > (if (= n 0) > > 0 > > (fibs 0 1 n))) > > Yes. I mean, it's tail recursion.