Created
December 6, 2017 01:39
-
-
Save hyotang666/1ec9f76b145f7294def00d5bd0ffb90f to your computer and use it in GitHub Desktop.
This file contains hidden or 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
(defun |$-reader| (s c) | |
(declare(ignore c)) | |
(let((op(read s t t t)) | |
(args(read s t t t))) | |
(cons op args))) | |
(set-macro-character #\$ #'|$-reader|) | |
;; cl-user> (append (list 1 2 3) $list(4 5 6)) | |
;; => (1 2 3 4 5 6) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment