From ... From: Erik Naggum Subject: Re: format directive "~{...~}" Date: 2000/01/11 Message-ID: <3156569413180279@naggum.no>#1/1 X-Deja-AN: 571673720 References: <3877D9A9.4C26C17B@genworks.com> mail-copies-to: never Content-Type: text/plain; charset=us-ascii X-Complaints-To: newsmaster@eunet.no X-Trace: oslo-nntp.eunet.no 947692550 7309 195.0.192.66 (12 Jan 2000 15:55:50 GMT) Organization: Naggum Software; +47 8800 8879 or +1 510 435 8604; fax: +47 2210 9077; http://www.naggum.no User-Agent: Gnus/5.0802 (Gnus v5.8.2) Emacs/20.5 Mime-Version: 1.0 NNTP-Posting-Date: 12 Jan 2000 15:55:50 GMT Newsgroups: comp.lang.lisp * Shin | USER(1): (format nil "(~{~a~^,~% ~}))" (list 'one 'two 'three)) | "(ONE, | TWO, | THREE))" for this to work, you would need to do ~& first, and it will fail to produce the correct output if any forms are nested. using the pretty-printer interface will work in such cases. #:Erik