From: Erik Naggum
Subject: printing lists
Date: 
Message-ID: <3049869637359318@arcana.naggum.no>
another question about near-trivial Common Lisp requirements.

ANSI X3.226 section 22.1.3.5 Printing Lists and Conses clearly states how a
list should be printed.  however, is there room for printed forms that
exploit the readtable?  e.g., '(quote foo) => 'foo, '(function foo) =>
#'foo, '`(foo ,bar) => `(foo ,bar).  if so, how would it be requested?

#\Erik
From: Barry Margolin
Subject: Re: printing lists
Date: 
Message-ID: <4vr6uo$rt8@tools.bbnplanet.com>
In article <················@arcana.naggum.no>,
Erik Naggum  <····@naggum.no> wrote:
>ANSI X3.226 section 22.1.3.5 Printing Lists and Conses clearly states how a
>list should be printed.  however, is there room for printed forms that
>exploit the readtable?  e.g., '(quote foo) => 'foo, '(function foo) =>
>#'foo, '`(foo ,bar) => `(foo ,bar).  if so, how would it be requested?

There's no standard way to request this.  Some implementations do this
automatically, although they must provide a way to turn it off in order to
get standard-conforming output (it's generally controlled by some
*PRINT-xxx* variable and a corresponding :xxx argument to WRITE).
-- 
Barry Margolin
BBN Planet, Cambridge, MA
······@bbnplanet.com -  Phone (617) 873-3126 - Fax (617) 873-6351
(BBN customers, please call (800) 632-7638 option 1 for support)