News for hackers. Stuff that matters.
Re:Once you go functional, you can never go back by lispm on Monday May 18, 2015 @12:59PM (#9565524)

    (define (fib n)
      (fib-iter 1 0 n))
 
    (define (fib-iter a b count)
      (if (= count 0)
          b
          (fib-iter (+ a b) a (- count 1))))

There are no comments on this comment yet.