[slime-devel] Avoid low apply limit

Lynn Quam quam at ai.sri.com
Tue Jan 11 18:47:14 UTC 2005


Martin Simmons <martin at lispworks.com> replied:
>  
>    Lynn> Neither CMUCL nor Allegro use *PRINT-LENGTH* to control the number of
>    Lynn> elements printed for an array.  Furthermore, the Common Lisp HyperSpec 
>    Lynn> says nothing about arrays in its description of *PRINT-LENGTH*.
>  
>  I think it should, because it is covered by "list-like syntax" in the last
>  paragraph.  Also see 22.1.3.7 Printing Other Vectors: "The printing of vectors
>  is affected by *print-level* and *print-length*."
>  
>  __Martin
>  


You are right. The language of the Hyperspec does allow *PRINT-LENGTH*
to affect the printing of arrays, and, in fact both CMUCL and Allegro
do honor its value.  Ellipses are printed for elements beyond the
value of *PRINT-LENGTH*.  



More information about the slime-devel mailing list