The 'append' function takes an arbitrary number of lists and splices them
together into a single list. This single list is returned.
(append) => NIL (append 'a 'b) => B (append '(a) '(b)) => (A B) (append 'a '(b)) => (B) (append '(a) 'b) => (A . B) (append '(a) nil) => (A) (append (list 'a 'b) (list 'c 'd)) => (A B C D) (append '(a (b)) '(c (d))) => (A (B) C (D)) (append '(a) nil nil nil '(b)) => (A B) (append '(a) '(nil) '(b)) => (A NIL B)
Note: If a list is appended to an atom, XLISP signals no error, the atom just disappears!
See also: