-
-
Save death/e9f975bb9ed13f43fd7653c9429e649c to your computer and use it in GitHub Desktop.
The story of #"
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
It is #*100101 nowadays, but used to be #"100101" according to a | |
Kent M. Pitman message in cl-su-ai. | |
Pitman suggested the new sub-char so that he could use #" for | |
strings passed through FORMAT: | |
(defun read-sharpsign-doublequote (stream char n) | |
(declare (ignore n)) | |
(unread-char char stream) | |
(format nil (read stream t nil t))) | |
Then one can use, say, #"Hello~%World" to have a string composed of | |
two lines, or | |
(defun f (x) | |
#"This function takes X~@ | |
and returns it, as-is." | |
x) | |
To have the text in the docstring indented in source but appearing | |
unindented in DOCUMENTATION output. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment