Subject: Re: Append object to list - Question From: Erik Naggum <erik@naggum.no> Date: 1998/10/02 Newsgroups: comp.lang.lisp Message-ID: <3116342324644208@naggum.no> * "Dom. Early" <Dom.Early@usa.net> [edited] | Just to make it a bit clearer, is there a function/macro that produces | the same output as | | (defun better-append (elt alist) | (append (list elt) alist))) CONS does that. also see PUSH if you want to store the value back into a variable. (PUSH is a macro, not a function.) incidentally, an ALIST is a list of cons cells, the car of each being a key and the cdr the value _associated_ with it. the A in ALIST stands for Association. LIST is a perfectly valid variable name. (note that ELT is a function's name, too.) #:Erik