I've recently discovered that vectors with an array-element-type
of base-char cannot be printed readably using SBCL 0.8.18.11
on x86 Linux. Although this does seem to be legal according to
CLHS, regarding the double-quote reader creating strings of type
character and array similarity requirements, it is unfortunate
since the following code
(let ((*print-readably* t))
(open "/tmp/test.out" :direction :output))
fails with a PRINT-NOT-READABLE error due to namestring returning
a simple-base-string and make-fd-stream using the ~S format-directive
in the parameter list.
I don't know what an appropriate fix is but changing make-fd-stream
to use the ~A format-directive is a fix of sorts.
"My doctor says that I have a malformed public-duty gland and a
natural deficiency in moral fibre," he muttered to himself, "and
that I am therefore excused from saving Universes."
- Life, the Universe, and Everything Douglas Adams.
Get latest updates about Open Source Projects, Conferences and News.