The number of components of an object that are printed in trace output.
hcl
100
The variable *trace-print-length*
controls the number of components of an object which are printed during output from tracing. If its value is a positive integer then the first *trace-print-length*
components are printed.
*print-length* is bound to the value of *trace-print-length*
while printing tracing information. If *trace-print-length*
is nil
then all the components of the object are printed.
USER 5 > (trace append) APPEND USER 6 > (setq *trace-print-length* 3)
3 USER 7 > (dotimes (i 10) (setq li (if (zerop i) nil (cons i li))))
NIL USER 8 > (append li '(a b)) 0 APPEND > ((9 8 7 ...) (A B)) 0 APPEND < ((9 8 7 ...)) (9 8 7 6 5 4 3 2 1 A B)
*trace-print-length*
is an extension to Common Lisp.
LispWorks® User Guide and Reference Manual - 01 Dec 2021 19:30:35