wanted: readable printing for specialized arrays
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SBCL |
Fix Released
|
Medium
|
Unassigned |
Bug Description
When I evaluate the following with SBCL
(defvar *f* (make-array 10 :element-type '(unsigned-byte 8)))
(with-
a PRINT-NOT-READABLE condition is signaled. Other Common Lisp
implementations allow readable printing of specialized arrays:
CLISP outputs
#A((|
Lispworks outputs
#.(COERCE #(252 140 140 245 0 0 0 0 123 86)'(SIMPLE-ARRAY (UNSIGNED-BYTE 8) (10)))
I would like something similar for SBCL. CLISP's extension of the #A
reader macro looks pretty reasonable. Are there any hidden issues
with implementing this array reading extension in SBCL as well?
bob
=======
paradicsom [23645] sbcl --version
SBCL 1.0.49.62-99a669b
paradicsom [23646] uname -a
Linux paradicsom.
Tue May 24 05:09:12 PDT 2011 x86_64 GNU/Linux
Changed in sbcl: | |
assignee: | nobody → Nikodemus Siivola (nikodemus) |
importance: | Undecided → Medium |
status: | New → Triaged |
summary: |
- readable printing for specialized arrays + wanted: readable printing for specialized arrays |
tags: | added: feature review |
Changed in sbcl: | |
status: | Triaged → In Progress |
tags: | removed: review |
Changed in sbcl: | |
status: | Fix Committed → Fix Released |
Attached is a patch against SBCL 1.0.52 that implements readable printing
for specialized arrays.
Would someone be willing to review this change?
bob