Re: Printing QUOTE.

[email protected] Sun, 30 Nov 2025 11:05:27 -0500
Newsgroups gmane.lisp.steel-bank.general
Message-ID <[email protected]>
Christophe Rhodes via Sbcl-help
<[email protected]> writes:

> The pretty-printer is ... pretty customizeable.
>
> The basic mechanism is *PPRINT-DISPATCH-TABLE*, which you can fairly
> arbitrarily customize to do special-case pretty-printing of any object.
> In your case, you want to do something special for objects of type CONS
> whose car is EQL to QUOTE, so that's going to be
>

Assuming that you meant *PRINT-PPRINT-DISPATCH*, instead of
*PPRINT-DISPATCH-TABLE*.

http://www.ai.mit.edu/projects/iiip/doc/CommonLISP/HyperSpec/Body/var_stprint-p_t-dispatchst.html

All of the printer control variables have been uniformly
named so that they start with *PRINT-.

http://www.ai.mit.edu/projects/iiip/doc/CommonLISP/HyperSpec/Body/sec_the_printer_dictionary.html

-- 
The lyf so short, the craft so long to lerne.
- Geoffrey Chaucer, The Parliament of Birds.