Re: Printing QUOTE.

AndrĂ© A. Gomes <[email protected]> Sun, 30 Nov 2025 11:08:11 +0300
Newsgroups gmane.lisp.steel-bank.general
Message-ID <[email protected]>
[email protected] writes:

> (let ((*print-pretty* nil))
>   (print ''foo))
> ;;=> (QUOTE FOO)
> ;;=> 'FOO
>
> *print-pretty*
> ;;=> T
> (print ''foo)
> ;;=> 'FOO
> ;;=> 'FOO
>
> See:
>
>   http://www.ai.mit.edu/projects/iiip/doc/CommonLISP/HyperSpec/Body/fun_writecm_p_rintcm_princ.html
>   http://www.ai.mit.edu/projects/iiip/doc/CommonLISP/HyperSpec/Body/var_stprint-prettyst.html

Do you know if the spec specifically mentions how quote should be
printed when *print-pretty* is T?  Thanks.


-- 
André A. Gomes
"You cannot even find the ruins..."


_______________________________________________
Sbcl-help mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sbcl-help