next up previous contents index
Next: Modifying Data Up: More on Generating Previous: Forming Subsets and

Combining Several Lists

At times you may want to combine several short lists into a single longer list. This can be done using the append   function. For example, if you have three variables x , y and z constructed by the expressions

(def x (list 1 2 3))
(def y (list 4))
(def z (list 5 6 7 8))

then the expression
(append x y z)

will return the list
(1 2 3 4 5 6 7 8).



next up previous contents index
Next: Modifying Data Up: More on Generating Previous: Forming Subsets and



Anthony Rossini
Fri Oct 20 10:29:17 EDT 1995