Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

printing lists

1 view
Skip to first unread message

Erik Naggum

unread,
Aug 24, 1996, 3:00:00 AM8/24/96
to

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

Barry Margolin

unread,
Aug 25, 1996, 3:00:00 AM8/25/96
to

In article <30498696...@arcana.naggum.no>,

Erik Naggum <er...@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
bar...@bbnplanet.com - Phone (617) 873-3126 - Fax (617) 873-6351
(BBN customers, please call (800) 632-7638 option 1 for support)

0 new messages