Stop show with sound -- Keyboard shortcut: 'x'  Next slide in show -- Keyboard shortcut: 'n'  2 minutesName binding, Recursion, Iteration, and Continuations - slide 21 : 42

Example of recursion: number-interval
The function number-interval returns a list of integers from a lower bound to an upper bound
(define (number-interval f t)
 (if (<= f t)
     (cons f (number-interval (+ f 1) t))
    '()))
number-interval.scm
The function number-interval-iter is an iterative, tail recursive variant of number-interval.
number-interval-dialogue
A sample dialogue with the number interval functions.
Go to exercise
The append function
Go to exercise
A list replication function