22.8. The Printer Dictionary [CLHS-22.4]

22.8.1. Functions WRITE & WRITE-TO-STRING
22.8.2. Macro PRINT-UNREADABLE-OBJECT
22.8.3. Miscellaneous Issues

22.8.1. Functions WRITE & WRITE-TO-STRING

The functions WRITE and WRITE-TO-STRING have an additional keyword argument :CLOSURE which is used to bind CUSTOM:*PRINT-CLOSURE*.

Variable CUSTOM:*PRINT-UNREADABLE-ANSI*The macro PRINT-UNREADABLE-OBJECT, when invoked without body forms, suppresses the trailing space if only the type is to be printed, and suppresses the leading space if only the identity is to be printed. This behaviour can be turned off set setting the variable CUSTOM:*PRINT-UNREADABLE-ANSI* to a non-NIL value: in this case, a trailing or leading space are output, as prescribed by [ANSI CL].

22.8.3. Miscellaneous Issues

*PRINT-CASE* controls the output not only of symbols, but also of characters and some unreadable #< objects.

In the absence of SYS::WRITE-FLOAT-DECIMAL , floating point numbers are output in radix 2. This function is defined in floatprint.lisp and is not available if you run CLISP without a memory image (which you should never do anyway!)

If *PRINT-READABLY* is true, *READ-DEFAULT-FLOAT-FORMAT* has no influence on the way floating point numbers are printed.

Platform Dependent: UNIX, Win32 platforms only.
*PRINT-PRETTY* is initially NIL but set to T in config.lisp. This makes screen output prettier.

*PRINT-ARRAY* is initially set to T.


These notes document CLISP version 2.41Last modified: 2006-10-13