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?
In article <3049869637359...@arcana.naggum.no>, Erik Naggum <e...@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)