HI all,

> append operates on LISTS. 'd or 'e is not a list.
> You should do:
> (append '(a b c) '(d) '(e))
> Or, alternatively:
> (append '(a b c) (list 'd 'e))

That's right.

It is best if you try to understand what happens internally


'append' simply sets the CDR of the last cell to the next argument. This
is typically a list, but may well be an atom (especially in the case of
the empty list, which is NIL and which happens to be also an atom).

♪♫ Alex
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe

Reply via email to