Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uwm.edu!bionet!arisia!roo!masinter From: masinter@parc.xerox.com (Larry Masinter) Newsgroups: comp.lang.lisp Subject: Re: novice question Message-ID: Date: 14 Oct 90 04:08:34 GMT References: <90285.160549JEFHC@CUNYVM.BITNET> <3315@idunno.Princeton.EDU> Sender: news@parc.xerox.com Organization: Xerox PARC, Palo Alto, CA Lines: 14 In-reply-to: yonezawa@cs.uiuc.edu's message of 13 Oct 90 14:58:46 GMT > How about this? > (defun mirror (x) > (if (atom x) > x > (reverse (mapcar #'mirror x)))) nreverse is probably better. -- Larry Masinter (masinter@parc.xerox.com) Xerox Palo Alto Research Center (PARC) 3333 Coyote Hill Road; Palo Alto, CA USA 94304 Fax: (415) 494-4333