On Mon, 10 Jan 2005 16:12:46 -0800, Lynn Quam quam@ai.sri.com said:
Lynn> Raymond Wiker replied:
Lynn Quam writes:
Lynn> ...
It would be nice if there was some better control of the printing of arrays. *PRINT-ARRAY* allow for arrays to always be printed or never be printed. What would be useful is a variable *PRINT-ARRAY-SIZE* that says to print arrays whose number of elements is less than or equal to *PRINT-ARRAY-SIZE* and *PRINT-ARRAY* in non-NIL. (I seem to recall that the Lisp Machines had such a variable, but I cannot recall its exact name.)
Can't *print-length* be used?
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