> -----Original Message----- > From: picolisp@software-lab.de [mailto:picolisp@software-lab.de] On Behalf > Of Alexander Burger > Sent: Sunday, 18 October 2015 6:03 PM > To: picolisp@software-lab.de > Subject: Re: append > > 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 > > http://software-lab.de/doc/ref.html#vm > > '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 > --
I get what it's doing now; the thing that seems weird to me is what it's NOT doing: append-ing. Jonathan.