u/lispm

strange SBCL output when printing symbol-names for keyword symbols

I'm seeing this on Linux ARM64 and a current macOS with SBCL.

% sbcl
This is SBCL 2.6.2, an implementation of ANSI Common Lisp.
More information about SBCL is available at <http://www.sbcl.org/>.

SBCL is free software, provided as is, with absolutely no warranty.
It is mostly in the public domain; some portions are provided under
BSD-style licenses.  See the CREDITS and COPYING files in the
distribution for more information.
* (let ((*print-readably* t)) (write (symbol-name :symbolfoo) :stream *standard-output*))
#A((9) BASE-CHAR . "SYMBOLFOO")
"SYMBOLFOO"
* 

#A((9) BASE-CHAR . "SYMBOLFOO") looks strange. Why doesn't it print a keyword symbol?

reddit.com
u/lispm — 5 days ago