previous | index | next

Constructing Lists

Suppose we want to create the list (3).
          (cons 3 __?__)

          (cons 3 ())

To create the list (1 2 3):

          (cons 1 (cons 2 (cons 3 ())))

          

previous | index | next