previous | index | next

Creating Arbitrarily Long Lists of Numbers

Facts about lists of the form
          (low low+1 ... high)
  1. If low > high, the list is empty,

  2. Otherwise, create it by consing low onto (low+1 ... high)
     (define integers-from-to
       (lambda (low high)
         (if __?__
             __?__
             __?__)))

previous | index | next