Created
February 18, 2024 19:53
-
-
Save garlic0x1/e13c6dc5a95a3bbf3a2cbf40f0f6be09 to your computer and use it in GitHub Desktop.
Common Lisp case-sensitive keywords
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
(set-macro-character | |
#\$ | |
(lambda (stream char) | |
(declare (ignore char)) | |
(let ((*readtable* (copy-readtable nil))) | |
(setf (readtable-case *readtable*) :preserve) | |
(read stream)))) | |
$:CaseSensitiveKeyword | |
;; => :|CaseSensitiveKeyword| |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment